diff --git a/combined-consent-generation.py b/combined-consent-generation.py index dbf9577c..7636e70f 100644 --- a/combined-consent-generation.py +++ b/combined-consent-generation.py @@ -51,7 +51,7 @@ def generate_fixed_fhir_criteria(provisions_code, provisions_display) -> list[Fi def generate_fixed_cql_criteria(provisions_code, provisions_display) -> list[FixedCQLCriteria]: - return [FixedCQLCriteria("Coding", "provision.provision.code", + return [FixedCQLCriteria("Coding", "provision.provision.code.coding", [{"code": code, "display": display, "system": "urn:oid:2.16.840.1.113883.3.1937.777.24.5.3"}]) for code, display in zip(provisions_code, provisions_display)] diff --git a/core/CQLMappingGenerator.py b/core/CQLMappingGenerator.py index 7af6979d..b9e55945 100644 --- a/core/CQLMappingGenerator.py +++ b/core/CQLMappingGenerator.py @@ -20,7 +20,7 @@ class CQLMappingGenerator(object): def __init__(self, querying_meta_data_resolver: ResourceQueryingMetaDataResolver, parser=FHIRParser): """ - :param querying_meta_data_resolver: resolves the for the query relevant meta data for a given FHIR profile + :param querying_meta_data_resolver: resolves the for the query relevant metadata for a given FHIR profile snapshot """ self.querying_meta_data_resolver = querying_meta_data_resolver