From b63c827646eda5eed0df3d031a359641b3da2e5d Mon Sep 17 00:00:00 2001 From: c-schuler Date: Tue, 17 Sep 2024 12:33:32 -0600 Subject: [PATCH 1/3] Measure Narrative Template Update Resolution for #108 - Updated to 0.7.1 of the cqf-ig template - Reorganized Measure template for reuse using "include" - Removed nested tables and lists for a cleaner presentation and more sustainable styling - Added sections for better navigation - Added anchors to logic definitions (see "Measure Population Criteria" and "Supplemental Data Elements" sections) - Resolved max-width issues (#74) - Added version footer to identify which version of the templates where used --- ig.ini | 3 +- input-cache/schemas/R5/fhir-single.xsd | 2371 +++++++++++------ input-cache/txcache/all-systems.cache | 310 ++- input-cache/txcache/loinc.cache | 512 +++- input-cache/txcache/mimetypes.cache | 67 + input-cache/txcache/snomed.cache | 204 +- input-cache/txcache/system-map.json | 5 + ...easure-HIVViralSuppressionFHIRExample.json | 6 +- templates/liquid/Measure.liquid | 1010 +------ templates/liquid/datarequirement.html | 42 + templates/liquid/default-list.html | 3 + templates/liquid/default.html | 3 + templates/liquid/direct-reference-code.html | 14 + ...nowledge-artifact-metadata-extensions.html | 19 + .../liquid/knowledge-artifact-metadata.html | 22 + templates/liquid/logic-definition.html | 21 + templates/liquid/measure-identifier.html | 20 + templates/liquid/measure-logic.html | 24 + .../liquid/measure-metadata-extensions.html | 11 + templates/liquid/measure-metadata.html | 19 + ...easure-population-criteria-extensions.html | 30 + ...easure-population-criteria-population.html | 59 + ...easure-population-criteria-stratifier.html | 26 + .../liquid/measure-population-criteria.html | 14 + .../liquid/measure-supplementaldata.html | 38 + templates/liquid/narrative-end.html | 3 + templates/liquid/narrative-start.html | 3 + templates/liquid/parameter.html | 14 + templates/liquid/period.html | 4 + templates/liquid/related-artifact.html | 47 + templates/liquid/row-content.html | 1 + templates/liquid/row-end.html | 1 + templates/liquid/row-header.html | 5 + templates/liquid/row-new.html | 4 + templates/liquid/row-start.html | 1 + templates/liquid/section-header.html | 3 + templates/liquid/type-primitive.html | 0 templates/liquid/version.html | 3 + 38 files changed, 3104 insertions(+), 1838 deletions(-) create mode 100644 input-cache/txcache/mimetypes.cache create mode 100644 templates/liquid/datarequirement.html create mode 100644 templates/liquid/default-list.html create mode 100644 templates/liquid/default.html create mode 100644 templates/liquid/direct-reference-code.html create mode 100644 templates/liquid/knowledge-artifact-metadata-extensions.html create mode 100644 templates/liquid/knowledge-artifact-metadata.html create mode 100644 templates/liquid/logic-definition.html create mode 100644 templates/liquid/measure-identifier.html create mode 100644 templates/liquid/measure-logic.html create mode 100644 templates/liquid/measure-metadata-extensions.html create mode 100644 templates/liquid/measure-metadata.html create mode 100644 templates/liquid/measure-population-criteria-extensions.html create mode 100644 templates/liquid/measure-population-criteria-population.html create mode 100644 templates/liquid/measure-population-criteria-stratifier.html create mode 100644 templates/liquid/measure-population-criteria.html create mode 100644 templates/liquid/measure-supplementaldata.html create mode 100644 templates/liquid/narrative-end.html create mode 100644 templates/liquid/narrative-start.html create mode 100644 templates/liquid/parameter.html create mode 100644 templates/liquid/period.html create mode 100644 templates/liquid/related-artifact.html create mode 100644 templates/liquid/row-content.html create mode 100644 templates/liquid/row-end.html create mode 100644 templates/liquid/row-header.html create mode 100644 templates/liquid/row-new.html create mode 100644 templates/liquid/row-start.html create mode 100644 templates/liquid/section-header.html create mode 100644 templates/liquid/type-primitive.html create mode 100644 templates/liquid/version.html diff --git a/ig.ini b/ig.ini index 7a488d8..49e3cff 100644 --- a/ig.ini +++ b/ig.ini @@ -1,4 +1,5 @@ [IG] ig = input/mycontentig.xml -template = cqf.fhir.template#0.6.0 +template = cqf.fhir.template#0.7.1 +# template = #local-template usage-stats-opt-out = false diff --git a/input-cache/schemas/R5/fhir-single.xsd b/input-cache/schemas/R5/fhir-single.xsd index 66561e9..bf8ae4b 100644 --- a/input-cache/schemas/R5/fhir-single.xsd +++ b/input-cache/schemas/R5/fhir-single.xsd @@ -47,9 +47,9 @@ POSSIBILITY OF SUCH DAMAGE. - Generated on Sat, May 4, 2024 21:56+0000 for FHIR v6.0.0-cibuild + Generated on Mon, Aug 12, 2024 01:54+0000 for FHIR v6.0.0-ballot1 --> - + @@ -626,6 +626,11 @@ Device + + + DeviceAlert + + DeviceAssociation @@ -916,6 +921,11 @@ MetadataResource + + + MolecularDefinition + + MolecularSequence @@ -1491,6 +1501,11 @@ Device + + + DeviceAlert + + DeviceAssociation @@ -1776,6 +1791,11 @@ MessageHeader + + + MolecularDefinition + + MolecularSequence @@ -2101,11 +2121,6 @@ Appointment - - - AppointmentResponse - - CarePlan @@ -2931,6 +2946,11 @@ Device + + + DeviceAlert + + DeviceAssociation @@ -3296,6 +3316,11 @@ Meta + + + MolecularDefinition + + MolecularSequence @@ -3966,6 +3991,11 @@ Device + + + DeviceAlert + + DeviceAssociation @@ -4261,6 +4291,11 @@ MetadataResource + + + MolecularDefinition + + MolecularSequence @@ -5066,9 +5101,9 @@ 6.0.0 - + - 6.0.0-cibuild + 6.0.0-ballot1 @@ -5114,7 +5149,7 @@ - + @@ -5190,12 +5225,12 @@ The Date value %s is not in the correct format (Xml Date Format required) Значение Date %s в неверном формате (требуется Xml Date формат) - Il valore %s per la data non è nel formato corretto (richiesto il Formato Data Xml) + Il valore %s per la data non è nel formato corretto (richiesto il Formato Data Xml) Niepoprawny format wartości daty %s (wymagany format XML) Le format de la date %s est incorrect (format Date Xml attendu) De Datum-waarde %s heeft niet de juiste structuur (Xml Date vereist) 日期的值 %s 格式不正确 (要求是Xml Date格式) - El valor de la fecha %s no está en el formato correcto (se requiere un formato de fecha Xml) + El valor de la fecha %s no está en el formato correcto (se requiere un formato de fecha Xml) @@ -5367,7 +5402,7 @@ Операция %s недопустима для ресурса %s (по причине локальной конфигурации) Operazione %s non consentita per la risorsa %s (a causa di configurazioni locali) Niedozwolona operacja %s dla zasobu %s (ze względu na lokalną konfigurację) - L'opération %s n'est pas permise pour la ressource %s (à cause de la configuration locale) + L'opération %s n'est pas permise pour la ressource %s (à cause de la configuration locale) Bewerking %s niet toegestaan voor resource %s (vanwege lokale configuratie) 操作 %s 不允许,对于资源 %s (由于本地配置) Operación %s no permitida para el recurso %s (debido a la configuración local) @@ -5425,19 +5460,18 @@ Unable to resolve local reference to resource %s - Kon referentie naar lokale resource %s niet vinden - Resources with identity "example" cannot be deleted (for testing/training purposes) - Ресурс с идентификатором "example" не может быть удалён (для случаев тестирования/обучения) - Le Risorse aventi l'identità "example" non possono essere cancellate (per finalità di test/formazione) + Resources with identity "example" cannot be deleted (for testing/training purposes) + Ресурс с идентификатором "example" не может быть удалён (для случаев тестирования/обучения) + Le Risorse aventi l'identità "example" non possono essere cancellate (per finalità di test/formazione) Zasoby oznaczone jako "example" nie mogą zostać usunięte (dla celów testów/szkoleń) - Les ressources ayant l'identité "example" ne peuvent pas être supprimées (utilisées pour les tests/formations) - Resources met identiteit "voorbeeld" kunnen niet worden verwijderd (ten behoeve van testen/training) + Les ressources ayant l'identité "example" ne peuvent pas être supprimées (utilisées pour les tests/formations) + Resources met identiteit "voorbeeld" kunnen niet worden verwijderd (ten behoeve van testen/training) 以"example" 为ID的资源不能被删除 (用于测试/培训) - Recursos con la identidad "example" no pueden ser borrados (son usados para pruebas/entrenamiento) + Recursos con la identidad "example" no pueden ser borrados (son usados para pruebas/entrenamiento) @@ -5611,14 +5645,14 @@ - Update Conflict (server current version = "%s", client version referenced = "%s") - Конфликт обновления (текущая версия сервера = "%s", указанная версия клиента = "%s") + Update Conflict (server current version = "%s", client version referenced = "%s") + Конфликт обновления (текущая версия сервера = "%s", указанная версия клиента = "%s") Conflitto nell''aggiornamento (attuale = "%s", quotato = "%s") - Konflikt podczas uaktualnienia (obecna wersja na serwerze = "%s", wersja wskazana przez klienta = "%s") - Conflit de mise à jour (version courante du serveur = "%s", version référencée du client = "%s") - Updateconflict (huidige serverversie = "%s", opgegeven clientversie = "%s") + Konflikt podczas uaktualnienia (obecna wersja na serwerze = "%s", wersja wskazana przez klienta = "%s") + Conflit de mise à jour (version courante du serveur = "%s", version référencée du client = "%s") + Updateconflict (huidige serverversie = "%s", opgegeven clientversie = "%s") 更新冲突 (服务器当前版本 = "%s", 客户端引用的版本 = "%s") - Conflicto de actualizaciones (versión actual del servidor = "%s", versión del cliente referenciada = "%s") + Conflicto de actualizaciones (versión actual del servidor = "%s", versión del cliente referenciada = "%s") @@ -5654,8 +5688,8 @@ Error: no processable search found for %s search parameters "%s" - Ошибка: обрабатываемых результатов поиска для %s с параметрами поиска "%s" не найдено - Errore: non è stato trovato alcun parametro di ricerca processabile per %s parametri di ricerca "%s" + Ошибка: обрабатываемых результатов поиска для %s с параметрами поиска "%s" не найдено + Errore: non è stato trovato alcun parametro di ricerca processabile per %s parametri di ricerca "%s" Błąd: Niewykonalne wyszukiwanie dla %s parametrów wyszukiwania "%s" Erreur : aucune recherche trouvée pour les paramètres %s "%s" Fout: geen verwerkbare zoekactie gevonden voor %s zoekparameters "%s" @@ -5671,14 +5705,14 @@ - + If the element is present, it must have either a @value, an @id, or extensions - + @@ -11272,6 +11306,7 @@ + @@ -11329,6 +11364,7 @@ + @@ -16480,24 +16516,24 @@ A coverage may only be responsible for specific types of charges, and the sequen Describes the entity that is suspected to have caused the adverse event. - + The contributing factors suspected to have increased the probability or severity of the adverse event. - + Preventive actions that contributed to avoiding the adverse event. - + - The ameliorating action taken after the adverse event occured in order to reduce the extent of harm. + The ameliorating action taken after the adverse event occurred in order to reduce the extent of harm. - + - Supporting information relevant to the event. + Relevant past history for the subject. In a clinical care context, an example being a patient had an adverse event following a penicillin administration and the patient had a previously documented penicillin allergy. In a clinical trials context, an example is a bunion or rash that was present prior to the study. Additionally, the supporting item can be a document that is relevant to this instance of the adverse event that is not part of the subject's medical history. For example, a clinical note, staff list, or material safety data sheet (MSDS). Supporting information is not a contributing factor, preventive action, or mitigating action. @@ -16537,13 +16573,11 @@ A coverage may only be responsible for specific types of charges, and the sequen - + Identifies the actual instance of what caused the adverse event. May be a substance, medication, medication administration, medication statement or a device. - - - - + + Information on the possible cause of the event. @@ -16579,78 +16613,6 @@ A coverage may only be responsible for specific types of charges, and the sequen - - - An event (i.e. any change to current patient status) that may be related to unintended effects on a patient or research participant. The unintended effects may require additional monitoring, treatment, hospitalization, or may result in death. The AdverseEvent resource also extends to potential or avoided events that could have had such effects. There are two major domains where the AdverseEvent resource is expected to be used. One is in clinical care reported adverse events and the other is in reporting adverse events in clinical research trial management. Adverse events can be reported by healthcare providers, patients, caregivers or by medical products manufacturers. Given the differences between these two concepts, we recommend consulting the domain specific implementation guides when implementing the AdverseEvent Resource. The implementation guides include specific extensions, value sets and constraints. - - - - - - - The item that is suspected to have increased the probability or severity of the adverse event. - - - - - - - - - - - An event (i.e. any change to current patient status) that may be related to unintended effects on a patient or research participant. The unintended effects may require additional monitoring, treatment, hospitalization, or may result in death. The AdverseEvent resource also extends to potential or avoided events that could have had such effects. There are two major domains where the AdverseEvent resource is expected to be used. One is in clinical care reported adverse events and the other is in reporting adverse events in clinical research trial management. Adverse events can be reported by healthcare providers, patients, caregivers or by medical products manufacturers. Given the differences between these two concepts, we recommend consulting the domain specific implementation guides when implementing the AdverseEvent Resource. The implementation guides include specific extensions, value sets and constraints. - - - - - - - The action that contributed to avoiding the adverse event. - - - - - - - - - - - An event (i.e. any change to current patient status) that may be related to unintended effects on a patient or research participant. The unintended effects may require additional monitoring, treatment, hospitalization, or may result in death. The AdverseEvent resource also extends to potential or avoided events that could have had such effects. There are two major domains where the AdverseEvent resource is expected to be used. One is in clinical care reported adverse events and the other is in reporting adverse events in clinical research trial management. Adverse events can be reported by healthcare providers, patients, caregivers or by medical products manufacturers. Given the differences between these two concepts, we recommend consulting the domain specific implementation guides when implementing the AdverseEvent Resource. The implementation guides include specific extensions, value sets and constraints. - - - - - - - The ameliorating action taken after the adverse event occured in order to reduce the extent of harm. - - - - - - - - - - - An event (i.e. any change to current patient status) that may be related to unintended effects on a patient or research participant. The unintended effects may require additional monitoring, treatment, hospitalization, or may result in death. The AdverseEvent resource also extends to potential or avoided events that could have had such effects. There are two major domains where the AdverseEvent resource is expected to be used. One is in clinical care reported adverse events and the other is in reporting adverse events in clinical research trial management. Adverse events can be reported by healthcare providers, patients, caregivers or by medical products manufacturers. Given the differences between these two concepts, we recommend consulting the domain specific implementation guides when implementing the AdverseEvent Resource. The implementation guides include specific extensions, value sets and constraints. - - - - - - - Relevant past history for the subject. In a clinical care context, an example being a patient had an adverse event following a pencillin administration and the patient had a previously documented penicillin allergy. In a clinical trials context, an example is a bunion or rash that was present prior to the study. Additionally, the supporting item can be a document that is relevant to this instance of the adverse event that is not part of the subject's medical history. For example, a clinical note, staff list, or material safety data sheet (MSDS). Supporting information is not a contributing factor, preventive action, or mitigating action. - - - - - - - - @@ -16784,9 +16746,14 @@ A coverage may only be responsible for specific types of charges, and the sequen The recordedDate represents when this particular AllergyIntolerance record was created in the system, which is often a system-generated date. - + - Indicates who or what participated in the activities related to the allergy or intolerance and how they were involved. + Individual who recorded the record and takes responsibility for its content. + + + + + The source of the information about the allergy that is recorded. @@ -16808,27 +16775,6 @@ A coverage may only be responsible for specific types of charges, and the sequen - - - Risk of harmful or undesirable physiological response which is specific to an individual and associated with exposure to a substance. - - - - - - - Distinguishes the type of involvement of the actor in the activities related to the allergy or intolerance. - - - - - Indicates who or what participated in the activities related to the allergy or intolerance. - - - - - - Risk of harmful or undesirable physiological response which is specific to an individual and associated with exposure to a substance. @@ -18089,7 +18035,7 @@ The duration (usually in minutes) could also be provided to indicate the length - The type of extra detail provided in the value. + The name of extra detail provided in the value. This element is the tag for the value. Where a simple string is used for the tag name, use the CodeableConcept.display element. @@ -18679,7 +18625,7 @@ into another (possibly the same) biological entity. - Body locations in relation to a specific body landmark (tatoo, scar, other body structure). + Body location in relation to a specific body landmark (e.g., a body structure such a navel, scar, or implanted device). @@ -21130,8 +21076,8 @@ of the resource representation. When the member is generally available within this care team. - - + + @@ -23457,41 +23403,6 @@ of the resource representation. - - - - - Active - - - - - Cancelled - - - - - Draft - - - - - Entered in Error - - - - - - - - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - This resource provides the adjudication details from the processing of a Claim resource. @@ -26895,9 +26806,14 @@ of the resource representation. The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date. - + - Indicates who or what participated in the activities related to the condition and how they were involved. + Individual who recorded the record and takes responsibility for its content. + + + + + Individual or device that is making the condition statement. @@ -26919,27 +26835,6 @@ of the resource representation. - - - A clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern. - - - - - - - Distinguishes the type of involvement of the actor in the activities related to the condition. - - - - - Indicates who or what participated in the activities related to the condition. - - - - - - A clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern. @@ -29811,11 +29706,6 @@ of the resource representation. Unique instance identifiers assigned to a device by manufacturers other organizations or owners. - - - The name used to display by default when the device is referenced. Based on intent of use by the resource creator, this may reflect one of the names in Device.name, or may be another simple name. - - The reference to the definition for the device. @@ -29891,7 +29781,7 @@ of the resource representation. The kind or type of device. A device instance may have more than one type - in which case those are the types that apply to the specific instance of the device. - + The actual design of the device or software version running on the device. @@ -30032,7 +29922,7 @@ of the resource representation. The actual name that identifies the device. - + Indicates the kind of name. RegisteredName | UserFriendlyName | PatientReportedName. @@ -30046,7 +29936,7 @@ of the resource representation. - + A type of a manufactured item that is used in the provision of healthcare without being substantially changed through that activity. The device may be a medical or non-medical device. @@ -30161,83 +30051,347 @@ of the resource representation. - + - + - Registered name + Barcode - + - User Friendly name + RFID - + - Patient Reported name + Manual + + + + + Card + + + + + Self Reported + + + + + Electronic Transmission + + + + + Unknown - + If the element is present, it must have either a @value, an @id, or extensions - + - + + + Describes a noteworthycondition or occurrence determined to exist by a device. + + + + + Describes a noteworthycondition or occurrence determined to exist by a device. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Instance identifiers assigned to a device, by the device or gateway software, manufacturers, other organizations or owners. For example, handle ID. + + + + + in-progress | completed | entered-in-error. + + + + + The condition, event, or state being reported. + + + + + The alert priority is usually reported by the source. A priority of `info` may indicate that the alert is "for information only" and not urgent action is required. The element may be omitted if the priority is unknown. + + + + + physiological | technical. + + + + + The who or what the alert is about. + + + + + A top-level or component Device (such as a MDS, VMD, or Channel) that detected the alert condition; or, within such a Device, the specific DeviceMetric (e.g. a heart rate reading) that was in an alert condition. + + + + + The value causing the alert condition. + + + + + The label may combine information from the alert code, priority, the measurement type, measurement value, body sites and other sources, e.g., "HR > 180". + + + + + Annunciation or notification of the alert condition. + + + + + + + + + Describes a noteworthycondition or occurrence determined to exist by a device. + + + + + + + The DeviceAlert.code indicates the specific condition that triggered the alert. It may correspond to a DeviceMetric.alert.code or Device.alert.code. + + + + + The alert condition is currently occuring. + + + + + An instantaneous condition is reported with the same start and end value. The end value is omitted if the condition is ongoing. + + + + + The limits beyond which a value was detected to cause the alert condition. The actual value is in DeviceAlert.derivedFrom. + + + + + + + + + Describes a noteworthycondition or occurrence determined to exist by a device. + + + + + + + Paused indicates that annunciation has temporarily been disabled ("snooze"). + + + + + Indicates whether the signal is currently being annunciated. An on signal is currently being annunciated; a latched signal is currently being being annunciated although the alert condition has ended; an off signal is not currently being annunciated; and an acknowledged signal is not currently being annuciated because the user has acknowledged the signal. + + + + + Signalling by the source device is local; signalling elsewhere is considered remote. A reference to the "top level" signalling device may also be present. + + + + + How the signal is being annunciated. + + + + + Details of the signal manifestation, such as a 1 meter visual indicator or a 4 meter visual indicator. + + + + + The period during which the signal was being annunciated. If there is no indicated period end, the annunciation is on-going. + + + + + + + - + - Barcode + On - + - RFID + Off - + - Manual + Paused - + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + - Card + High Priority - + - Self Reported + Medium Priority - + - Electronic Transmission + Low Priority - + - Unknown + Information Only - + If the element is present, it must have either a @value, an @id, or extensions - + + + + + + + + + In Progress + + + + + Completed + + + + + Entered in Error + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + On + + + + + Latched + + + + + Off + + + + + Acknowledged + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + + + + + + Physiological + + + + + Technical + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + @@ -30402,7 +30556,7 @@ of the resource representation. Information about the packaging of the device, i.e. how the device is packaged. - + The version of the device or software. @@ -30716,7 +30870,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. - + The characteristics, operational status and capabilities of a medical-related component of a medical device. @@ -31226,9 +31380,9 @@ RegisteredName | UserFriendlyName | PatientReportedName. The preferred color associated with the metric (e.g., display color). This is often used to aid clinicians to track and identify parameter types by color. In practice, consider a Patient Monitor that has ECG/HR and Pleth; the metrics are displayed in different characteristic colors, such as HR in blue, BP in green, and PR and SpO2 in magenta. - + - Indicates the category of the observation generation process. A DeviceMetric can be for example a setting, measurement, or calculation. + Indicates the category of the observation generation process. A DeviceMetric can be, for example, a setting, measurement, or calculation. @@ -31252,7 +31406,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. - + Describes the type of the calibration method. @@ -31288,41 +31442,6 @@ RegisteredName | UserFriendlyName | PatientReportedName. - - - - - Unspecified - - - - - Offset - - - - - Gain - - - - - Two Point - - - - - - - - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - @@ -31393,41 +31512,6 @@ RegisteredName | UserFriendlyName | PatientReportedName. - - - - - Measurement - - - - - Setting - - - - - Calculation - - - - - Unspecified - - - - - - - - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker. @@ -32083,6 +32167,11 @@ RegisteredName | UserFriendlyName | PatientReportedName. This list of codes represents the main clinical acts, such as a colonoscopy or an appendectomy, being documented. In some cases, the event is inherent in the type Code, such as a "History and Physical Report" in which the procedure being documented is necessarily a "History and Physical" act. + + + Any other resource this document reference was created or to which the creation of this record is tightly associated. + + The anatomic structures included in the document. @@ -32103,7 +32192,7 @@ RegisteredName | UserFriendlyName | PatientReportedName. The time period over which the service that is described by the document was provided. - + When the document reference was created. @@ -37262,6 +37351,11 @@ See guidance around (not) making local changes to elements [here](canonicalresou + + + Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stakeholders. + + Indicates what should be done by when. @@ -37269,12 +37363,12 @@ See guidance around (not) making local changes to elements [here](canonicalresou - Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc. + Identifies when the current achievement status took effect. I.e. When achieved, when improving, etc. - + - Captures the reason for the current status. + Captures the reason for the current lifecycle status. @@ -37301,6 +37395,32 @@ See guidance around (not) making local changes to elements [here](canonicalresou + + + Describes the intended objective(s) for a patient, group or organization care, for example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, etc. + + + + + + + The person whose acceptance/priority is being reflected. + + + + + Indicates whether the specified individual has accepted the goal or not. + + + + + Indicates the relative priority assigned to the goal by the stakeholder. + + + + + + Describes the intended objective(s) for a patient, group or organization care, for example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, etc. @@ -37396,6 +37516,36 @@ See guidance around (not) making local changes to elements [here](canonicalresou + + + + + Agree + + + + + Disagree + + + + + Pending + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + A formal computable definition of a graph of resources - that is, a coherent set of resources that form a graph by following references. The Graph Definition resource defines a set and makes rules about the set. @@ -37910,6 +38060,11 @@ See guidance around (not) making local changes to elements [here](canonicalresou Device + + + DeviceAlert + + DeviceAssociation @@ -38205,6 +38360,11 @@ See guidance around (not) making local changes to elements [here](canonicalresou MetadataResource + + + MolecularDefinition + + MolecularSequence @@ -38849,7 +39009,7 @@ See guidance around (not) making local changes to elements [here](canonicalresou - Provides a specific type of resource the group includes; e.g. "cow", "syringe", etc. + A code that describes the use of the group. The use of the group usually dictates what kind of entities can be members of the group. @@ -38977,6 +39137,11 @@ See guidance around (not) making local changes to elements [here](canonicalresou A reference to the entity that is a member of the group. Must be consistent with Group.type. If the entity is another group, then the type must be the same. + + + A code that describes how a user is involved in the group. Some groups (e.g. exposure-group) typically don't have variance between members, or it is not tracked, while for other groups (e.g. family, household) this may be meaningful. + + The period that the member was in the group, if known. @@ -39449,7 +39614,7 @@ See guidance around (not) making local changes to elements [here](canonicalresou - A unique identifier assigned to this imaging selection. + Unique identifiers assigned to this imaging selection. @@ -39479,7 +39644,7 @@ See guidance around (not) making local changes to elements [here](canonicalresou - Selector of the instances – human or machine. + Selectors of the instances – human or machine. @@ -39487,19 +39652,14 @@ See guidance around (not) making local changes to elements [here](canonicalresou A list of the diagnostic requests that resulted in this imaging selection being performed. - - - The Study Instance UID for the DICOM Study from which the images were selected. - - The imaging study from which the imaging selection is made. - + - The network service providing retrieval access to the selected images, frames, etc. See implementation notes for information about using DICOM endpoints. + The Study Instance UID for the DICOM Study from which the images were selected. @@ -39517,14 +39677,19 @@ See guidance around (not) making local changes to elements [here](canonicalresou The Frame of Reference UID identifying the coordinate system that conveys spatial and/or temporal information for the selected images or frames. - + - The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. + The anatomic structures examined. See [DICOM Part 16 Annex L](http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. - The actual focus of an observation when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, fetus, or donor. For example, fetus observations in a mother's record. The focus of an observation could also be an existing condition, an intervention, the subject's diet, another observation of the subject, or a body structure such as tumor or implanted device. An example use case would be using the Observation resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is the focus. + The actual focus of an imaging selection when it is another imaging selection resource and not the patient of record. + + + + + The network services providing retrieval access to the selected images, frames, etc. See implementation notes for information about using DICOM endpoints. @@ -39555,7 +39720,7 @@ See guidance around (not) making local changes to elements [here](canonicalresou - Author – human or machine. + Author - human or machine. @@ -39586,18 +39751,18 @@ See guidance around (not) making local changes to elements [here](canonicalresou - Selected subset of the SOP Instance. The content and format of the subset item is determined by the SOP Class of the selected instance. - May be one of: - - A list of frame numbers selected from a multiframe SOP Instance. - - A list of Content Item Observation UID values selected from a DICOM SR or other structured document SOP Instance. - - A list of segment numbers selected from a segmentation SOP Instance. - - A list of Region of Interest (ROI) numbers selected from a radiotherapy structure set SOP Instance. + Selected subset of the SOP Instance. The type of the subset item is determined by the `instance.sopClass` value. +May be one of: +- A list of frame numbers selected from a multiframe SOP Instance. +- A list of Referenced Content Item Identifier values selected from a DICOM SR or other structured document SOP Instance (See [DICOM C.17.3.2.5](https://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.17.3.2.5.html)). +- A list of segment numbers selected from a segmentation SOP Instance (See [DICOM Table C.8.20-4](https://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.8.20.4.html#table_C.8.20-4)). +- A list of Region of Interest (ROI) numbers selected from a radiotherapy structure set SOP Instance (See [DICOM C.8.8.5](https://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.8.8.5.html)). Each imaging selection instance or frame list might includes an image region, specified by a region type and a set of 2D coordinates. - If the parent imagingSelection.instance contains a subset element of type frame, the image region applies to all frames in the subset list. +If the parent imagingSelection.instance contains a subset element of type frame, the image region applies to all frames in the subset list. @@ -39619,7 +39784,7 @@ See guidance around (not) making local changes to elements [here](canonicalresou The coordinates describing the image region. Encoded as a set of (column, row) pairs that denote positions in the selected image / frames specified with sub-pixel resolution. - The origin at the TLHC of the TLHC pixel is 0.0\0.0, the BRHC of the TLHC pixel is 1.0\1.0, and the BRHC of the BRHC pixel is the number of columns\rows in the image / frames. The values must be within the range 0\0 to the number of columns\rows in the image / frames. +The origin at the TLHC of the TLHC pixel is 0.0\0.0, the BRHC of the TLHC pixel is 1.0\1.0, and the BRHC of the BRHC pixel is the number of columns\rows in the image / frames. The values must be within the range 0\0 to the number of columns\rows in the image / frames. @@ -39659,6 +39824,11 @@ See guidance around (not) making local changes to elements [here](canonicalresou Entered in Error + + + Inactive + + Unknown @@ -39868,7 +40038,7 @@ See guidance around (not) making local changes to elements [here](canonicalresou - The anatomic structures examined. See DICOM Part 16 Annex L (http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. The bodySite may indicate the laterality of body part imaged; if so, it shall be consistent with any content of ImagingStudy.series.laterality. + The anatomic structures examined. See [DICOM Part 16 Annex L](http://dicom.nema.org/medical/dicom/current/output/chtml/part16/chapter_L.html) for DICOM to SNOMED-CT mappings. The bodySite may indicate the laterality of body part imaged; if so, it shall be consistent with any content of ImagingStudy.series.laterality. @@ -40241,7 +40411,7 @@ See guidance around (not) making local changes to elements [here](canonicalresou The vaccine preventable disease the dose is being administered against. - + Nominal position in a series as intended by the practitioner administering the dose. @@ -46169,7 +46339,7 @@ See guidance around (not) making local changes to elements [here](canonicalresou - A reference to a knowledge resource that provides more information about this medication. + A reference to a knowledge resource that provides more information about this medication. This element can be used to help with Cross Border use cases and separately it may also be useful if someone needs to drill into more medication specific information. @@ -46323,9 +46493,9 @@ See guidance around (not) making local changes to elements [here](canonicalresou A specific date/time or interval of time during which the administration took place (or did not take place). For many administrations, such as swallowing a tablet the use of dateTime is more appropriate. - - - + + + @@ -46595,7 +46765,7 @@ See guidance around (not) making local changes to elements [here](canonicalresou - The date (and maybe time) when the dispense activity started if whenPrepared or whenHandedOver is not populated. + The date the occurrence of the MedicationDispense was first captured in the system. @@ -46782,22 +46952,22 @@ See guidance around (not) making local changes to elements [here](canonicalresou A code that specifies this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems. - + A code to indicate if the medication referred to by this MedicationKnowledge is in active use within the drug database or inventory system. The status refers to the validity about the information of the medication and not to its medicinal properties. - + The creator or owner of the knowledge or information about the medication. - + Lists the jurisdictions that this medication knowledge was written for. - + All of the names for a medication, for example, the name(s) given to a medication in different countries. For example, acetaminophen and paracetamol or salbutamol and albuterol. @@ -47337,36 +47507,6 @@ See guidance around (not) making local changes to elements [here](canonicalresou - - - - - Active - - - - - Entered in Error - - - - - Inactive - - - - - - - - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - An order or request for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called "MedicationRequest" rather than "MedicationPrescription" or "MedicationOrder" to generalize the use across inpatient and outpatient settings, including care plans, etc., and to harmonize with workflow patterns. @@ -47768,18 +47908,14 @@ See guidance around (not) making local changes to elements [here](canonicalresou A record of a medication that is being consumed by a patient. A MedicationStatement may indicate that the patient may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay. The medication information may come from sources such as the patient's memory, from a prescription bottle, or from a list of medications the patient, clinician or other party maintains. -The primary difference between a medicationstatement and a medicationadministration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication. A medicationstatement is often, if not always, less specific. There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise. As stated earlier, the Medication Statement information may come from the patient's memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains. Medication administration is more formal and is not missing detailed information. - -The MedicationStatement resource was previously called MedicationStatement. +The primary difference between a medicationstatement and a medicationadministration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication. A medicationstatement is often, if not always, less specific. There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise. As stated earlier, the Medication Statement information may come from the patient's memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains. Medication administration is more formal and is not missing detailed information. A record of a medication that is being consumed by a patient. A MedicationStatement may indicate that the patient may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay. The medication information may come from sources such as the patient's memory, from a prescription bottle, or from a list of medications the patient, clinician or other party maintains. -The primary difference between a medicationstatement and a medicationadministration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication. A medicationstatement is often, if not always, less specific. There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise. As stated earlier, the Medication Statement information may come from the patient's memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains. Medication administration is more formal and is not missing detailed information. - -The MedicationStatement resource was previously called MedicationStatement. +The primary difference between a medicationstatement and a medicationadministration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication. A medicationstatement is often, if not always, less specific. There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise. As stated earlier, the Medication Statement information may come from the patient's memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains. Medication administration is more formal and is not missing detailed information. If the element is present, it must have either a @value, an @id, or extensions @@ -47881,9 +48017,7 @@ The MedicationStatement resource was previously called MedicationStatement. A record of a medication that is being consumed by a patient. A MedicationStatement may indicate that the patient may be taking the medication now or has taken the medication in the past or will be taking the medication in the future. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay. The medication information may come from sources such as the patient's memory, from a prescription bottle, or from a list of medications the patient, clinician or other party maintains. -The primary difference between a medicationstatement and a medicationadministration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication. A medicationstatement is often, if not always, less specific. There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise. As stated earlier, the Medication Statement information may come from the patient's memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains. Medication administration is more formal and is not missing detailed information. - -The MedicationStatement resource was previously called MedicationStatement. +The primary difference between a medicationstatement and a medicationadministration is that the medication administration has complete administration information and is based on actual administration information from the person who administered the medication. A medicationstatement is often, if not always, less specific. There is no required date/time when the medication was administered, in fact we only know that a source has reported the patient is taking this medication, where details such as time, quantity, or rate or even medication product may be incomplete or missing or less precise. As stated earlier, the Medication Statement information may come from the patient's memory, from a prescription bottle or from a list of medications the patient, clinician or other party maintains. Medication administration is more formal and is not missing detailed information. @@ -48723,6 +48857,562 @@ The MedicationStatement resource was previously called MedicationStatement. + + + Representation of a molecular definition. + + + + + Representation of a molecular definition. + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + A unique identifier for this particular resource instance. + + + + + The type of the Molecular Definition (Amino Acid, DNA, RNA). + + + + + The molecular location of this molecule. + + + + + A member or part of this molecule. + + + + + The representation of this molecular definition, e.g., as a literal or repeated elements. + + + + + + + + + Representation of a molecular definition. + + + + + + + The Location of this molecule in context of a sequence. + + + + + The location of this molecule in context of a cytoband. + + + + + The location of this molecule in context of a feature. + + + + + + + + + Representation of a molecular definition. + + + + + + + The reference Sequence that contains this location. + + + + + The coordinate interval for this location. + + + + + The identification of the strand direction, i.e, forward vs reverse strand. + + + + + + + + + Representation of a molecular definition. + + + + + + + The coordinate system of this interval. + + + + + The start of this interval. + + + + + + + The end of this interval. + + + + + + + + + + + Representation of a molecular definition. + + + + + + + The reference genome assemble. + + + + + The Cytoband Interval. + + + + + + + + + Representation of a molecular definition. + + + + + + + Species of the organism. + + + + + The build number of this genome assemble. + + + + + The accession of this genome assemble. + + + + + The description of this genome assemble. + + + + + + + + + + + Representation of a molecular definition. + + + + + + + The chromosome where this cytoband interval occurs. + + + + + The start of this cytoband Interval. + + + + + The end of this cytoband Interval. + + + + + + + + + Representation of a molecular definition. + + + + + + + The arm of this start interval. + + + + + + + The region of this start interval. + + + + + + + The band of this start interval. + + + + + + + The sub-band of this start interval. + + + + + + + + + + + Representation of a molecular definition. + + + + + + + The arm of this end interval. + + + + + + + The region of this end interval. + + + + + + + The band of this end interval. + + + + + + + The sub-band of this end interval. + + + + + + + + + + + Representation of a molecular definition. + + + + + + + The gene Id where this molecule occurs. + + + + + + + + + Representation of a molecular definition. + + + + + + + A representation focus, e.g., reference or alternative state. + + + + + A representation code. + + + + + A literal representation. + + + + + A resolvable representation of a molecule that optionally contains formatting in addition to the specification of the primary sequence itself. The sequence may be provided inline as an attached document or through a resolvable URI. + + + + + A Molecular Sequence that is represented as an extracted portion of a different Molecular Sequence. + + + + + A Molecular Sequence that is represented as a repeated sequence motif. + + + + + A Molecular Sequence that is represented as an ordered concatenation of two or more Molecular Sequences. + + + + + A Molecular Definition that is represented as an ordered series of edits on a specified starting sequence. + + + + + + + + + Representation of a molecular definition. + + + + + + + The encoding used for the expression of the primary sequence. This defines the characters that may be used in the primary sequence and it permits the explicit inclusion/exclusion of IUPAC ambiguity codes. + + + + + The primary (linear) sequence, expressed as a literal string. + + + + + + + + + Representation of a molecular definition. + + + + + + + The Molecular Sequence that serves as the parent sequence, from which the intended sequence will be extracted. + + + + + The start coordinate (on the parent sequence) of the interval that defines the subsequence to be extracted. + + + + + The end coordinate (on the parent sequence) of the interval that defines the subsequence to be extracted. + + + + + The coordinate system used to define the interval that defines the subsequence to be extracted. Coordinate systems are usually 0- or 1-based. + + + + + A flag that indicates whether the extracted sequence should be reverse complemented. + + + + + + + + + Representation of a molecular definition. + + + + + + + The sequence that defines the repeated motif. + + + + + The number of repeats (copies) of the sequence motif. + + + + + + + + + Representation of a molecular definition. + + + + + + + One element of a concatenated Molecular Sequence. + + + + + + + + + Representation of a molecular definition. + + + + + + + The Molecular Sequence corresponding to this element. + + + + + The ordinal position of this sequence element within the concatenated Molecular Sequence. + + + + + + + + + Representation of a molecular definition. + + + + + + + The Molecular Sequence that serves as the starting sequence, on which edits will be applied. + + + + + An edit (change) made to a sequence. + + + + + + + + + Representation of a molecular definition. + + + + + + + The order of this edit, relative to other edits on the starting sequence. + + + + + The coordinate system used to define the edited intervals on the starting sequence. Coordinate systems are usually 0- or 1-based. + + + + + The start coordinate of the interval that will be edited. + + + + + The end coordinate of the interval that will be edited. + + + + + The sequence that defines the replacement sequence used in the edit operation. + + + + + The sequence on the 'starting' sequence for the edit operation, defined by the specified interval, that will be replaced during the edit. + + + + + + + + + + + AA Sequence + + + + + DNA Sequence + + + + + RNA Sequence + + + + + + + + If the element is present, it must have either a @value, an @id, or extensions + + + + + + + Representation of a molecular sequence. @@ -48743,47 +49433,53 @@ The MedicationStatement resource was previously called MedicationStatement. - Amino Acid Sequence/ DNA Sequence / RNA Sequence. + The type of the Molecular Sequence (Amino Acid Sequence, DNA Sequence, RNA Sequence). - - - Indicates the subject this sequence is associated too. - - - + - The actual focus of a molecular sequence when it is not the patient of record representing something or someone associated with the patient such as a spouse, parent, child, or sibling. For example, in trio testing, the subject would be the child (proband) and the focus would be the parent. + A literal representation of a Molecular Sequence. - + - Specimen used for sequencing. + Sequence that was observed as file content. Can be an actual file contents, or referenced by a URL to an external system. - + - The method for sequencing, for example, chip information. + A Molecular Sequence that is represented as an ordered series of edits on a specified starting sequence. - + - The organization or lab that should be responsible for this result. + A Molecular Sequence that is represented as an extracted portion of a different Molecular Sequence. - + - Sequence that was observed. + A Molecular Sequence that is represented as a repeated sequence motif. - + - Sequence that was observed as file content. Can be an actual file contents, or referenced by a URL to an external system. + A Molecular Sequence that is represented as an ordered concatenation of two or more Molecular Sequences. - + + + + + + + Representation of a molecular sequence. + + + + + - A sequence defined relative to another sequence. + The primary (linear) sequence, expressed as a literal string. @@ -48797,192 +49493,152 @@ The MedicationStatement resource was previously called MedicationStatement. - - - These are different ways of identifying nucleotides or amino acids within a sequence. Different databases and file types may use different systems. For detail definitions, see https://loinc.org/92822-6/ for more detail. - - - - - Indicates the order in which the sequence should be considered when putting multiple 'relative' elements together. - - - - - Indicates the nucleotide range in the composed sequence when multiple 'relative' elements are used together. - - - + - A sequence that is used as a starting sequence to describe variants that are present in a sequence analyzed. + The Molecular Sequence that serves as the starting sequence, on which edits will be applied. - Changes in sequence from the starting sequence. + An edit (change) made to a sequence. - + Representation of a molecular sequence. - + - The genome assembly used for starting sequence, e.g. GRCh38. + The order of this edit, relative to other edits on the starting sequence. - + - Structural unit composed of a nucleic acid molecule which controls its own replication through the interaction of specific proteins at one or more origins of replication ([SO:0000340](http://www.sequenceontology.org/browser/current_svn/term/SO:0000340)). + The coordinate system used to define the edited intervals on the starting sequence. Coordinate systems are usually 0- or 1-based. - + - The reference sequence that represents the starting sequence. - - - - - - - - Start position of the window on the starting sequence. This value should honor the rules of the coordinateSystem. + The start coordinate of the interval that will be edited. - + - End position of the window on the starting sequence. This value should honor the rules of the coordinateSystem. + The end coordinate of the interval that will be edited. - + - A relative reference to a DNA strand based on gene orientation. The strand that contains the open reading frame of the gene is the "sense" strand, and the opposite complementary strand is the "antisense" strand. + The sequence that defines the replacement sequence used in the edit operation. - + - An absolute reference to a strand. The Watson strand is the strand whose 5'-end is on the short arm of the chromosome, and the Crick strand as the one whose 5'-end is on the long arm. + The sequence on the 'starting' sequence for the edit operation, defined by the specified interval, that will be replaced during the edit. - + Representation of a molecular sequence. - + - Start position of the edit on the starting sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive. + The Molecular Sequence that serves as the parent sequence, from which the intended sequence will be extracted. - + - End position of the edit on the starting sequence. If the coordinate system is 0-based then end is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position. + The start coordinate (on the parent sequence) of the interval that defines the subsequence to be extracted. - + - Allele that was observed. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the observed sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end. + The end coordinate (on the parent sequence) of the interval that defines the subsequence to be extracted. - + - Allele in the starting sequence. Nucleotide(s)/amino acids from start position of sequence to stop position of sequence on the positive (+) strand of the starting sequence. When the sequence type is DNA, it should be the sequence on the positive (+) strand. This will lay in the range between variant.start and variant.end. + The coordinate system used to define the interval that defines the subsequence to be extracted. Coordinate systems are usually 0- or 1-based. + + + + + A flag that indicates whether the extracted sequence should be reverse complemented. - - - - - Watson strand of starting sequence - - - - - Crick strand of starting sequence - - - - - + - - If the element is present, it must have either a @value, an @id, or extensions + Representation of a molecular sequence. - - + + + + + The sequence that defines the repeated motif. + + + + + The number of repeats (copies) of the sequence motif. + + + - - - - - Sense orientation of referenceSeq - - - - - Antisense orientation of referenceSeq - - - - - + - - If the element is present, it must have either a @value, an @id, or extensions + Representation of a molecular sequence. - - + + + + + One element of a concatenated Molecular Sequence. + + + - - - - - AA Sequence - - - - - DNA Sequence - - - - - RNA Sequence - - - - - + - - If the element is present, it must have either a @value, an @id, or extensions + Representation of a molecular sequence. - - + + + + + The Molecular Sequence corresponding to this element. + + + + + The ordinal position of this sequence element within the concatenated Molecular Sequence. + + + @@ -49278,12 +49934,12 @@ The MedicationStatement resource was previously called MedicationStatement. - A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. + A record of intake by a patient. A NutritionIntake may indicate that the patient may be consuming the food (i.e., solid and/or liquid), breastmilk, infant formula, supplements, enteral formula now or has consumed it in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food (i.e., solid and/or liquid), breastmilk, infant formula, supplements, enteral formula consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. - A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. + A record of intake by a patient. A NutritionIntake may indicate that the patient may be consuming the food (i.e., solid and/or liquid), breastmilk, infant formula, supplements, enteral formula now or has consumed it in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food (i.e., solid and/or liquid), breastmilk, infant formula, supplements, enteral formula consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. If the element is present, it must have either a @value, an @id, or extensions @@ -49331,7 +49987,7 @@ The MedicationStatement resource was previously called MedicationStatement. - The person, animal or group who is/was consuming the food or fluid. + The person or group who is/was consuming the food (i.e. solid and/or liquid). @@ -49341,7 +49997,7 @@ The MedicationStatement resource was previously called MedicationStatement. - The interval of time during which it is being asserted that the patient is/was consuming the food or fluid. + The interval of time during which it is being asserted that the patient is/was consuming the food (i.e. solid and/or liquid). @@ -49353,19 +50009,14 @@ The MedicationStatement resource was previously called MedicationStatement. - The person or organization that provided the information about the consumption of this food or fluid. Note: Use derivedFrom when a NutritionIntake is derived from other resources. + Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth. It may also indicate the source that provided the information about the consumption. - + - What food or fluid product or item was consumed. - - - - - Total nutrient amounts for the whole meal, product, serving, etc. + The nutrition product intended for consumption and/or administration. @@ -49385,7 +50036,7 @@ The MedicationStatement resource was previously called MedicationStatement. - A reason, Condition or observation for why the food or fluid is /was consumed. + A reason, Condition or observation for why the food (i.e. solid and/or liquid) is /was consumed. @@ -49397,62 +50048,85 @@ The MedicationStatement resource was previously called MedicationStatement. - + - A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. + A record of intake by a patient. A NutritionIntake may indicate that the patient may be consuming the food (i.e., solid and/or liquid), breastmilk, infant formula, supplements, enteral formula now or has consumed it in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food (i.e., solid and/or liquid), breastmilk, infant formula, supplements, enteral formula consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. - + - Indicates what a category of item that was consumed: e.g., food, fluid, enteral, etc. + Indicates what a category of item that is intended to be consumed: e.g., food (i.e. solid and/or liquid), breastmilk, infant formula, supplements, enteral formula. - + - Identifies the food or fluid product that was consumed. This is potentially a link to a resource representing the details of the food product (TBD) or a simple attribute carrying a code that identifies the food from a known list of foods. + Identifies the food (i.e. solid and/or liquid) product that is to be consumed. This is potentially a link to a resource representing the details of the food product or a simple attribute carrying a code that identifies the food from a known list of foods. - + - Scheduled frequency of consumption. + What nutrition item was consumed. - + - Quantity of the specified food. + Indicator that the nutrition item was not consumed, such as it was refused, held (e.g., tube feedings), or otherwise not provided. - + - Rate at which enteral feeding was administered. + Document the reason the nutrition item was not consumed, such as refused, held, etc. - + + + + + + + A record of intake by a patient. A NutritionIntake may indicate that the patient may be consuming the food (i.e., solid and/or liquid), breastmilk, infant formula, supplements, enteral formula now or has consumed it in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food (i.e., solid and/or liquid), breastmilk, infant formula, supplements, enteral formula consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. + + + + + - Indicator when a patient is in a setting where it is helpful to know if food was not consumed, such as it was refused, held (as in tube feedings), or otherwise not provided. If a consumption is being recorded from an app, such as MyFitnessPal, this indicator will likely not be used. + Scheduled frequency of consumption. - + - Document the reason the food or fluid was not consumed, such as refused, held, etc. + Quantity of the specified food (i.e. solid and/or liquid) . + + + + + Rate of enteral feeding administration. + + + + + + + Nutrients and/or energy contained in the intake. - + - A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. + A record of intake by a patient. A NutritionIntake may indicate that the patient may be consuming the food (i.e., solid and/or liquid), breastmilk, infant formula, supplements, enteral formula now or has consumed it in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food (i.e., solid and/or liquid), breastmilk, infant formula, supplements, enteral formula consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. - Total nutrient consumed. This could be a macronutrient (protein, fat, carbohydrate), or a vitamin and mineral. + Type of nutrient consumed. This could be a macronutrient (protein, fat, carbohydrate), or a vitamin and mineral. @@ -49460,13 +50134,18 @@ The MedicationStatement resource was previously called MedicationStatement.Total amount of nutrient consumed. + + + Total energy consumed in kilocalories or kilojoules. + + - A record of food or fluid that is being consumed by a patient. A NutritionIntake may indicate that the patient may be consuming the food or fluid now or has consumed the food or fluid in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food or fluids consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. + A record of intake by a patient. A NutritionIntake may indicate that the patient may be consuming the food (i.e., solid and/or liquid), breastmilk, infant formula, supplements, enteral formula now or has consumed it in the past. The source of this information can be the patient, significant other (such as a family member or spouse), or a clinician. A common scenario where this information is captured is during the history taking process during a patient visit or stay or through an app that tracks food (i.e., solid and/or liquid), breastmilk, infant formula, supplements, enteral formula consumed. The consumption information may come from sources such as the patient's memory, from a nutrition label, or from a clinician documenting observed intake. @@ -49487,12 +50166,12 @@ The MedicationStatement resource was previously called MedicationStatement. - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to an individual or group. - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to an individual or group. If the element is present, it must have either a @value, an @id, or extensions @@ -49580,22 +50259,22 @@ The MedicationStatement resource was previously called MedicationStatement. - This modifier is used to convey order-specific modifiers about the type of food that should be given. These can be derived from patient allergies, intolerances, or preferences such as Halal, Vegan or Kosher. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings. + This modifier is used to convey order-specific modifiers about the type of food (i.e. solid and/or liquid) that should be given. These can be derived from patient allergies, intolerances, or preferences such as Halal, Vegan or Kosher. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings. - This modifier is used to convey Order-specific modifier about the type of oral food or oral fluids that should not be given. These can be derived from patient allergies, intolerances, or preferences such as No Red Meat, No Soy or No Wheat or Gluten-Free. While it should not be necessary to repeat allergy or intolerance information captured in the referenced AllergyIntolerance resource in the excludeFoodModifier, this element may be used to convey additional specificity related to foods that should be eliminated from the patient’s diet for any reason. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings. + This modifier is used to convey Order-specific modifier about the type of oral food (i.e. solid and/or liquid) that should not be given. These can be derived from patient allergies, intolerances, or preferences such as No Red Meat, No Soy or No Wheat or Gluten-Free. While it should not be necessary to repeat allergy or intolerance information captured in the referenced AllergyIntolerance resource in the excludeFoodModifier, this element may be used to convey additional specificity related to foods that should be eliminated from the patient’s diet for any reason. This modifier applies to the entire nutrition order inclusive of the oral diet, nutritional supplements and enteral formula feedings. - This modifier is used to convey whether a food item is allowed to be brought in by the patient and/or family. If set to true, indicates that the receiving system does not need to supply the food item. + This modifier is used to convey whether a food item, brought in by the patient, family, and/or caregiver, can be consumed by the patient. If set to true, indicates that the receiving system does not need to supply the food item. - Diet given orally in contrast to enteral (tube) feeding. + Diet given orally that may include texture modification, such as International Dysphagia Diet Standardisation Initiative Framework - Slightly Thick Level 1 drinks and Minced and International Dysphagia Diet Standardisation Initiative Framework - Minced and Moist Level 5 food as well as, for example, Decreased potassium diet (ie, nutrient modification), Halal diet (ie, cultural modification), and/or Low microbial diet (eg, other modification). @@ -49608,9 +50287,14 @@ The MedicationStatement resource was previously called MedicationStatement.Feeding provided through the gastrointestinal tract via a tube, catheter, or stoma that delivers nutrition distal to the oral cavity. + + + Indicates modular components to be provided in addition or mixed with the oral diet, supplement, and/or enteral feeding. + + - Comments made about the {{title}} by the requester, performer, subject or other participants. + Comments made about the nutrition order by the requester, performer, subject or other participants. @@ -49619,14 +50303,14 @@ The MedicationStatement resource was previously called MedicationStatement. - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to an individual or group. - The kind of diet or dietary restriction such as fiber restricted diet or diabetic diet. + The kind of diet or dietary restriction such as fiber restricted diet or diet for diabetes. @@ -49636,22 +50320,22 @@ The MedicationStatement resource was previously called MedicationStatement. - Class that defines the quantity and type of nutrient modifications (for example carbohydrate, fiber or sodium) required for the oral diet. + Defines the quantity and the nutrient modified (for example carbohydrate, fiber or sodium) in the oral diet. - Class that describes any texture modifications required for the patient to safely consume various types of solid foods. + Class that describes any texture modifications in addition to the oral diet type required for the patient to safely consume various types of foods (i.e. solid and/or liquid). - + - The required consistency (e.g. honey-thick, nectar-thick, thin, thickened.) of liquids or fluids served to the patient. + Free text or additional instructions or information pertaining to the oral diet. - + - Free text or additional instructions or information pertaining to the oral diet. + The amount of energy (calories or kilojoules) that the oral diet should provide. For example, an infant formula feeding of 30 ounces of 20 kcal/ounce (67 kcal/100 mL) formula per day. @@ -49660,7 +50344,7 @@ The MedicationStatement resource was previously called MedicationStatement. - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to an individual or group. @@ -49672,12 +50356,12 @@ The MedicationStatement resource was previously called MedicationStatement. - Indicates whether the product is only taken when needed within a specific dosing schedule. + Indicates whether the diet is only taken when needed within a specific administration schedule. - Indicates whether the product is only taken based on a precondition for taking the product. + Indicates whether the diet is only taken based on a precondition for taking the diet. @@ -49686,7 +50370,7 @@ The MedicationStatement resource was previously called MedicationStatement. - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to an individual or group. @@ -49707,19 +50391,19 @@ The MedicationStatement resource was previously called MedicationStatement. - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to an individual or group. - Any texture modifications (for solid foods) that should be made, e.g. easy to chew, chopped, ground, and pureed. + Texture modifications in the addition to the oral diet type that should be made, e.g. easy to chew, chopped, ground, and pureed. - + - The food type(s) (e.g. meats, all foods) that the texture modification applies to. This could be all foods types. + The food (i.e. solid and/or liquid) type(s) (e.g. meats, all foods) that the texture modification applies to. @@ -49728,7 +50412,7 @@ The MedicationStatement resource was previously called MedicationStatement. - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to an individual or group. @@ -49758,13 +50442,18 @@ The MedicationStatement resource was previously called MedicationStatement.Free text or additional instructions or information pertaining to the oral supplement. + + + The amount of energy (calories or kilojoules) that the supplement should provide per specified volume, typically per ml or fluid oz. For example, a patient may required a supplement that provides 24 calories per fluid ounce. + + - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to an individual or group. @@ -49790,19 +50479,19 @@ The MedicationStatement resource was previously called MedicationStatement. - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to an individual or group. - + - The type of enteral or infant formula such as an adult standard formula with fiber or a soy-based infant formula. + The type of adult or pediatric enteral feeding such as an adult standard formula with fiber or a soy-based infant feeding. - + - The product or brand name of the enteral or infant formula product such as "ACME Adult Standard Formula". + The product or brand name of the enteral feeding product such as "ACME Adult Standard Formula". @@ -49810,29 +50499,24 @@ The MedicationStatement resource was previously called MedicationStatement.The intended type of device that is to be used for the administration of the enteral formula. - - - Indicates modular components to be provided in addition or mixed with the base formula. - - - The amount of energy (calories) that the formula should provide per specified volume, typically per mL or fluid oz. For example, an infant may require a formula that provides 24 calories per fluid ounce or an adult may require an enteral formula that provides 1.5 calorie/mL. + The amount of energy (calories or kilojoules) that the feeding should provide per specified volume, typically per mL or fluid oz. For example, an infant may require a formula that provides 24 calories per fluid ounce or an adult may require an enteral formula that provides 1.5 calorie/mL. - + - The route or physiological path of administration into the patient's gastrointestinal tract for purposes of providing the formula feeding, e.g. nasogastric tube. + The administration into the patient's gastrointestinal tract for purposes of providing the formula feeding, e.g. nasogastric tube, oral. - Formula administration instructions as structured data. This repeating structure allows for changing the administration rate or volume over time for both bolus and continuous feeding. An example of this would be an instruction to increase the rate of continuous feeding every 2 hours. + Formula feeding administration instructions as structured data. This repeating structure allows for changing the administration rate or volume over time for both bolus and continuous feeding. An example of this would be an instruction to increase the rate of continuous feeding every 2 hours. - + - The maximum total quantity of formula that may be administered to a subject over the period of time, e.g. 1440 mL over 24 hours. + The maximum total quantity of formula feeding that may be administered to a subject over the period of time, e.g. 1440 mL over 24 hours. @@ -49844,80 +50528,80 @@ The MedicationStatement resource was previously called MedicationStatement. - + - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to an individual or group. - - - Indicates the type of modular component such as protein, carbohydrate, fat or fiber to be provided in addition to or mixed with the base formula. - - - + - The product or brand name of the type of modular component to be added to the formula. + Schedule information for an enteral feeding. - The amount of additive to be given in addition or to be mixed in with the base formula. + The volume of formula feeding to provide to the patient per the specified administration schedule. + + + The rate of administration of formula feeding via a feeding pump, e.g. 60 mL per hour, according to the specified schedule. + + + + - + - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to an individual or group. - + - Schedule information for an enteral formula. + The time period and frequency at which the enteral feeding should be given. The enteral feeding should be given for the combination of all schedules if more than one schedule is present. - + - The volume of formula to provide to the patient per the specified administration schedule. + Indicates whether the enteral feeding is only taken when needed within a specific dosing schedule. - + - The rate of administration of formula via a feeding pump, e.g. 60 mL per hour, according to the specified schedule. - - - - + Indicates whether the enteral feeding is only taken based on a precondition for taking the enteral feeding. + + - + - A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident. + A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to an individual or group. - + - The time period and frequency at which the enteral formula should be given. The enteral formula should be given for the combination of all schedules if more than one schedule is present. + Indicates the type of modular component such as protein, carbohydrate, fat or fiber to be provided in addition to or mixed with the oral diet, supplement, and/or enteral feeding. - + - Indicates whether the enteral formula is only taken when needed within a specific dosing schedule. + The product or brand name of the type of modular additive to be added to the oral diet, supplement, and/or enteral feeding. - + - Indicates whether the enteral formula is only taken based on a precondition for taking the enteral formula. + The amount of additive to be given in addition or to be mixed in with the oral diet, supplement, and/or enteral feeding. @@ -49939,7 +50623,7 @@ The MedicationStatement resource was previously called MedicationStatement. - The code assigned to the product, for example a USDA NDB number, a USDA FDC ID number, or a Langual code. + A code that specifies the product or a textual description if no code is available. This could be such codes as a USDA Branded Food Products Database number, a USDA Food Data Central (FDC) ID number, Universal Product Code (UPC), a Langual code, or a country specific food database code. @@ -49949,7 +50633,7 @@ The MedicationStatement resource was previously called MedicationStatement. - Nutrition products can have different classifications - according to its nutritional properties, preparation methods, etc. + Nutrition products fall into various categories based on their composition (e.g., Fruit and Grain, Vegetables) or form (e.g., Beverages). @@ -49962,14 +50646,19 @@ The MedicationStatement resource was previously called MedicationStatement.The product's nutritional information expressed by the nutrients. + + + The textual description of the ingredients in the product. For example, the following is a concatenated list of the ingredients for a peanut butter would read 'ROASTED PEANUTS, SUGAR, HYDROGENATED VEGETABLE OIL (COTTONSEED, SOYBEAN AND RAPESEED OIL) TO PREVENT SEPARATION, SALT'. + + Ingredients contained in this product. - + - Allergens that are known or suspected to be a part of this nutrition product. + The amount of energy present in the product expressed in kilocalories or kilojoules. @@ -49998,16 +50687,18 @@ The MedicationStatement resource was previously called MedicationStatement. - + The (relevant) nutrients in the product. - + - The amount of nutrient expressed in one or more units: X per pack / per serving / per dose. - - + The amount of nutrient expressed in one or more units, either X per pack / per serving / per dose or X amount. + + + + @@ -50024,9 +50715,16 @@ The MedicationStatement resource was previously called MedicationStatement.The ingredient contained in the product. - + The amount of ingredient that is in the product. + + + + + + + Substances associated with allergies and/or intolerances that a part of this product. @@ -50079,7 +50777,7 @@ The MedicationStatement resource was previously called MedicationStatement. - The name for the specific product. + The name or brand for the specific product. @@ -50456,6 +51154,11 @@ Reflex | Repeat | Re-run. Corrected + + + Appended + + Cancelled @@ -50785,6 +51488,11 @@ Reflex | Repeat | Re-run. The set of critical coded results for qualitative observations that match the criteria of this set of qualified values. + + + The expected coded interpretation values of an observation that matches this qualified interval. For example, high, low, normal. + + @@ -52146,7 +52854,7 @@ Deceased patients may also be marked as inactive for the same reasons, but may b - Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes. + Administrative Gender - the gender that the patient is considered to have for administration and record keeping purposes. See the [Patient Gender and Sex section](patient.html#gender) for additional information about communicating patient gender and sex. @@ -52221,12 +52929,22 @@ Deceased patients may also be marked as inactive for the same reasons, but may b - The nature of the relationship between the patient and the contact person. + The nature of the personal relationship between the patient and the contact person. + + + + + The nature of the functional role between the patient and the contact person. - A name associated with the contact person. + A name associated with the contact person. Alternate/additional names for this contact can be found in the `additionalName` property. + + + + + Additional names for the contact person. @@ -52236,7 +52954,12 @@ Deceased patients may also be marked as inactive for the same reasons, but may b - Address for the contact person. + Address for the contact person. Alternate/additional addresses for this contact can be found in the `additionalAddress` property. + + + + + Additional addresses for the contact person. @@ -52726,6 +53449,11 @@ Deceased patients may also be marked as inactive for the same reasons, but may b + + + A unique identifier assigned to this permisssion. + + Status. @@ -54215,7 +54943,7 @@ Deceased patients may also be marked as inactive for the same reasons, but may b - The organization where the Practitioner is available to perform the roles associated. + The organization where this role is available. @@ -54223,9 +54951,9 @@ Deceased patients may also be marked as inactive for the same reasons, but may b Roles which this practitioner is authorized to perform for the organization. - + - A name that describes the intersection of the practitioner, organization, and the role of the practitioner within the organization. This is not the human name of the practitioner, though the textual representation of that human name may be a part of this property. + A value that describes the intersection of the practitioner, organization, and the role of the practitioner within the organization. This is not the human name of the practitioner, though the textual representation of that human name may be a part of this property. @@ -55577,7 +56305,12 @@ Deceased patients may also be marked as inactive for the same reasons, but may b - The nature of the relationship between the related person and the patient. + The nature of the personal relationship between the related person and the patient. + + + + + The nature of the functional relationship between the patient and the related person. @@ -57465,12 +58198,12 @@ Deceased patients may also be marked as inactive for the same reasons, but may b - Additional details and instructions about the how the services are to be delivered. For example, and order for a urinary catheter may have an order detail for an external or indwelling catheter, or an order for a bandage may require additional instructions specifying how the bandage should be applied. + Additional details and instructions about how the services are to be delivered. For example, an order for a urinary catheter may have an order detail for an external or indwelling catheter, or an order for a bandage may require additional instructions specifying how the bandage should be applied. Questions or additional information to be gathered from a patient may be included here. - An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction). + An amount of service being requested. @@ -57543,7 +58276,7 @@ Deceased patients may also be marked as inactive for the same reasons, but may b - Additional clinical information about the patient or specimen that may influence the services or their interpretations. This information includes diagnosis, clinical findings and other observations. In laboratory ordering these are typically referred to as "ask at order entry questions (AOEs)". This includes observations explicitly requested by the producer (filler) to provide context or supporting information needed to complete the order. For example, reporting the amount of inspired oxygen for blood gas measurements. + Additional clinical information about the patient or specimen that may influence the services or their interpretations. This information includes diagnosis, clinical findings and other observations. In laboratory ordering these are typically referred to as 'ask at order entry questions (AOEs).' This includes observations explicitly requested by the producer (filler) to provide context or supporting information needed to complete the order. For example, reporting the amount of inspired oxygen for blood gas measurements. @@ -59568,6 +60301,11 @@ Deceased patients may also be marked as inactive for the same reasons, but may b The literal value or resource path as is legal in search - for example, `Patient/123` or `le1950`. + + + An event filter to be applied to the topic - e.g., if a topic defined multiple event triggers, this can be used to specify a single one. Multiple values are or-joined, multiple codings within a value are and-joined. + + @@ -59727,6 +60465,11 @@ Deceased patients may also be marked as inactive for the same reasons, but may b Either the sequential number of this event in this subscription context or a relative event number for this notification. + + + If present, one or more event codes specifying the events which triggered this notification. + + The actual time this event occurred on the server. @@ -59742,6 +60485,32 @@ Deceased patients may also be marked as inactive for the same reasons, but may b Additional context information for this event. Generally, this will contain references to additional resources included with the event (e.g., the Patient relevant to an Encounter), however it MAY refer to non-FHIR objects. + + + Queries and codes that could be included with notifications of this shape. Servers MAY include these queries if supported and desired in the workflow. + + + + + + + + + The SubscriptionStatus resource describes the state of a Subscription during notifications. + + + + + + + Coded value(s) used to describe the type of information that evaluating this query will provide. Subscribers can use the values to ensure the data they request are relevant and necessary for their use. + + + + + Query a subscriber can use to retrieve additional information. The exact contents of the query MAY depend on the value of the `queryType`, however this SHOULD be a query suitable for use as an HTTP GET request (either fully-qualified or partial). + + @@ -59906,31 +60675,16 @@ Deceased patients may also be marked as inactive for the same reasons, but may b The period during which the SubscriptionTopic content was or is planned to be effective. - - - A definition of a resource-based event that triggers a notification based on the SubscriptionTopic. The criteria may be just a human readable description and/or a full FHIR search string or FHIRPath expression. Multiple triggers are considered OR joined (e.g., a resource update matching ANY of the definitions will trigger a notification). - - - - - Event definition which can be used to trigger the SubscriptionTopic. - - - - - List of properties by which Subscriptions on the SubscriptionTopic can be filtered. May be defined Search Parameters (e.g., Encounter.patient) or parameters defined within this SubscriptionTopic context (e.g., hub.event). - - - + - List of properties to describe the shape (e.g., resources) included in notifications from this Subscription Topic. + A definition of a state change or event that triggers a notification based on the SubscriptionTopic. The criteria may be just a human readable description, or may contain a FHIRPath expression, query-based definition, or event coding. Multiple triggers are considered OR joined (e.g., an update matching ANY of the definitions will trigger a notification). - + Describes a stream of resource state changes or events and annotated with labels useful to filter projections from this topic. @@ -59939,12 +60693,12 @@ Deceased patients may also be marked as inactive for the same reasons, but may b - The human readable description of this resource trigger for the SubscriptionTopic - for example, "An Encounter enters the 'in-progress' state". + The human readable description of this trigger for the SubscriptionTopic - for example, "An Encounter enters the 'in-progress' state". - URL of the Resource that is the type used in this resource trigger. Relative URLs are relative to the StructureDefinition root of the implemented FHIR version (e.g., http://hl7.org/fhir/StructureDefinition). For example, "Patient" maps to http://hl7.org/fhir/StructureDefinition/Patient. For more information, see <a href="elementdefinition-definitions.html#ElementDefinition.type.code">ElementDefinition.type.code</a>. + URL of the key definition that is relevant to this trigger. Relative URLs are relative to the StructureDefinition root of the implemented FHIR version (e.g., http://hl7.org/fhir/StructureDefinition). For example, "Patient" maps to http://hl7.org/fhir/StructureDefinition/Patient. For more information, see <a href="elementdefinition-definitions.html#ElementDefinition.type.code">ElementDefinition.type.code</a>. @@ -59962,6 +60716,21 @@ Deceased patients may also be marked as inactive for the same reasons, but may b The FHIRPath based rules that the server should use to determine when to trigger a notification for this topic. + + + A well-defined event which can be used to trigger notifications from the SubscriptionTopic. + + + + + List of properties by which Subscriptions can be filtered. May be defined Search Parameters (e.g., Encounter.patient) or parameters defined within this SubscriptionTopic context (e.g., hub.event). + + + + + List of properties to describe the shape (e.g., resources) included in notifications from this trigger. + + @@ -60002,32 +60771,6 @@ Deceased patients may also be marked as inactive for the same reasons, but may b - - - Describes a stream of resource state changes or events and annotated with labels useful to filter projections from this topic. - - - - - - - The human readable description of an event to trigger a notification for the SubscriptionTopic - for example, "Patient Admission, as defined in HL7v2 via message ADT^A01". Multiple values are considered OR joined (e.g., matching any single event listed). - - - - - A well-defined event which can be used to trigger notifications from the SubscriptionTopic. - - - - - URL of the Resource that is the focus type used in this event trigger. Relative URLs are relative to the StructureDefinition root of the implemented FHIR version (e.g., http://hl7.org/fhir/StructureDefinition). For example, "Patient" maps to http://hl7.org/fhir/StructureDefinition/Patient. For more information, see <a href="elementdefinition-definitions.html#ElementDefinition.type.code">ElementDefinition.type.code</a>. - - - - - - Describes a stream of resource state changes or events and annotated with labels useful to filter projections from this topic. @@ -60042,7 +60785,7 @@ Deceased patients may also be marked as inactive for the same reasons, but may b - URL of the Resource that is the type used in this filter. This is the "focus" of the topic (or one of them if there are more than one). It will be the same, a generality, or a specificity of SubscriptionTopic.resourceTrigger.resource or SubscriptionTopic.eventTrigger.resource when they are present. + URL of the Resource that is the type used in this filter. This is the "focus" of the topic (or one of them if there are more than one). It will be the same, a generality, or a specificity of the `SubscriptionTopic.trigger.resource` if this is present. @@ -60078,7 +60821,7 @@ Deceased patients may also be marked as inactive for the same reasons, but may b - URL of the Resource that is the type used in this shape. This is the 'focus' resource of the topic (or one of them if there are more than one) and the root resource for this shape definition. It will be the same, a generality, or a specificity of SubscriptionTopic.resourceTrigger.resource or SubscriptionTopic.eventTrigger.resource when they are present. + URL of the Data Type, Resource, or definition (e.g., logical model) that is the type used in this shape. This is the 'focus' resource of the topic (or one of them if there are more than one) and the root for this shape definition. It will be the same, a generality, or a specificity of `SubscriptionTopic.trigger.resource` when it is present. @@ -60091,6 +60834,32 @@ Deceased patients may also be marked as inactive for the same reasons, but may b Search-style _revinclude directives, rooted in the resource for this shape. Servers SHOULD include resources listed here, if they exist and the user is authorized to receive them. Clients SHOULD be prepared to receive these additional resources, but SHALL function properly without them. + + + Queries and codes that could be included with notifications of this shape. Servers MAY include these queries if supported and desired in the workflow. + + + + + + + + + Describes a stream of resource state changes or events and annotated with labels useful to filter projections from this topic. + + + + + + + Coded value(s) used to describe the type of information that evaluating this query will provide. Subscribers can use the values to ensure the data they request are relevant and necessary for their use. + + + + + Query a subscriber can use to retrieve additional information. The exact contents of the query MAY depend on the value of the `queryType`, however this SHOULD be a query suitable for use as an HTTP GET request (either fully-qualified or partial). + + @@ -61873,7 +62642,7 @@ Deceased patients may also be marked as inactive for the same reasons, but may b Status of the supply request. - + Whether the request is a proposal, plan, or an original order. @@ -62030,61 +62799,6 @@ Deceased patients may also be marked as inactive for the same reasons, but may b - - - - - Proposal - - - - - Plan - - - - - Order - - - - - Original Order - - - - - Reflex Order - - - - - Filler Order - - - - - Instance Order - - - - - Option - - - - - - - - If the element is present, it must have either a @value, an @id, or extensions - - - - - - - A task to be performed as a part of a workflow and the related informations like inputs, outputs and execution progress. While very simple workflows can be implemented with Request alone, most workflows would require a Task (explicit or contained) as a means to track the execution data (i.e. inputs, outputs, status). Please refer to the workflow page for more details. @@ -62163,7 +62877,7 @@ Deceased patients may also be marked as inactive for the same reasons, but may b A name or code (or both) briefly describing what the task involves. - + A free-text description of what is to be performed. @@ -62848,7 +63562,7 @@ Deceased patients may also be marked as inactive for the same reasons, but may b If the compositional grammar defined by the code system is supported. - + Language Displays supported. @@ -63963,6 +64677,11 @@ Deceased patients may also be marked as inactive for the same reasons, but may b A series of operations required to clean up after all the tests are executed (successfully or otherwise). + + + A common collection of actions that can be re-used in a TestScript. + + @@ -64217,9 +64936,9 @@ Deceased patients may also be marked as inactive for the same reasons, but may b - + - Action would contain either an operation or an assertion. + Action would contain either a common or operation or an assertion. @@ -64233,6 +64952,11 @@ Deceased patients may also be marked as inactive for the same reasons, but may b + + + Links or references to common collection(s) of actions in this or an external TestScript instance. + + The operation to perform. @@ -64247,6 +64971,53 @@ Deceased patients may also be marked as inactive for the same reasons, but may b + + + A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification. + + + + + + + Canonical reference providing traceability to the common TestScript instance containing the commonKey. + + + + + Common key reference that identifies the common collection of actions to perform as defined the this or the common testScript. + + + + + Optional named parameter(s) to provide input values to the identified common collection of actions from this or an external TestScript. + + + + + + + + + A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification. + + + + + + + The name of this parameter from the identified common collection of actions from this or an external TestScript. + + + + + The value to assign to this parameter from the identified common collection of actions from this or an external TestScript. + + + + + + A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification. @@ -64538,7 +65309,7 @@ Deceased patients may also be marked as inactive for the same reasons, but may b A short description of the test used by test engines for tracking and reporting purposes. - + Action would contain either an operation or an assertion. @@ -64554,6 +65325,11 @@ Deceased patients may also be marked as inactive for the same reasons, but may b + + + Links or references to common collection(s) of actions in this or an external TestScript instance. + + An operation would involve a REST request to a server. @@ -64591,6 +65367,11 @@ Deceased patients may also be marked as inactive for the same reasons, but may b + + + Links or references to common collection(s) of actions in this or an external TestScript instance. Action asserts SHALL be ignored for the TestScript.teardown. + + An operation would involve a REST request to a server. @@ -64600,6 +65381,84 @@ Deceased patients may also be marked as inactive for the same reasons, but may b + + + A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification. + + + + + + + Key that identifies this common collection of actions (unique within this resource). + + + + + The name of this this common collection of actions used for tracking/logging purposes by test engines. + + + + + A short description of this common collection of actions used by test engines for tracking and reporting purposes. + + + + + Optional named parameter(s) to provide input values to this common collection of actions from this or an external TestScript. + + + + + An action will contain either an operation or an assertion but not both. + + + + + + + + + A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification. + + + + + + + The name of this parameter that will referenced in this common collection of actions using the TestScript variable nomenclature '${name}. + + + + + An optional short description of this parameter to be used this common collection of actions used by test engines for tracking and reporting purposes. + + + + + + + + + A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification. + + + + + + + An operation would involve a REST request to a server. + + + + + Evaluates the results of previous operations to determine if the server under test behaves appropriately. + + + + + + @@ -65715,7 +66574,7 @@ Deceased patients may also be marked as inactive for the same reasons, but may b Selects the concepts found in this value set (based on its value set definition). This is an absolute URI that is a reference to ValueSet.url. If multiple value sets are specified this includes the intersection of the contents of all of the referenced value sets. - + A copyright statement for the specific code system asserted by the containing ValueSet.compose.include element's system value (if the associated ValueSet.compose.include.version element is not present); or the code system and version combination (if the associated ValueSet.compose.include.version element is present). @@ -65800,7 +66659,10 @@ Deceased patients may also be marked as inactive for the same reasons, but may b - The match value may be either a code defined by the system, or a string value, which is a regex match on the literal string of the property value (if the filter represents a property defined in CodeSystem) or of the system filter value (if the filter represents a filter defined in CodeSystem) when the operation is 'regex', or one of the values (true and false), when the operation is 'exists'. + ValueSet.compose.include.filter.value is represented as a string, and the string value must be one of the three types below: +When the filter operation (ValueSet.compose.include.filter.op) is equal to "regex", the value (ValueSet.compose.include.filter.value) is a regex expression. This is used to match string values (including integer and decimal, if necessary). +When the filter operation (ValueSet.compose.include.filter.op) is equal to "exists", the value (ValueSet.compose.include.filter.value) is a boolean and must be equal to "true" or "false". +For all other filter operations (ValueSet.compose.include.filter.op) the value (ValueSet.compose.include.filter.value) represents a code. @@ -66031,12 +66893,12 @@ Deceased patients may also be marked as inactive for the same reasons, but may b - + Criteria describing which concepts or codes should be included and why. - + Criteria describing which concepts or codes should be excluded and why. @@ -66323,6 +67185,11 @@ Deceased patients may also be marked as inactive for the same reasons, but may b A unique identifier assigned to this vision prescription. + + + Plan/proposal/order/request fulfilled by this prescription. + + The status of the resource instance. diff --git a/input-cache/txcache/all-systems.cache b/input-cache/txcache/all-systems.cache index aab85f5..56c7e5d 100644 --- a/input-cache/txcache/all-systems.cache +++ b/input-cache/txcache/all-systems.cache @@ -14,7 +14,6 @@ v: { "code" : "001", "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -36,7 +35,6 @@ v: { "system" : "http://unitsofmeasure.org", "version" : "2.0.1", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -57,7 +55,6 @@ v: { "code" : "en", "system" : "urn:ietf:bcp:47", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -79,7 +76,6 @@ v: { "code" : "001", "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -100,7 +96,6 @@ v: { "code" : "text/cql", "system" : "urn:ietf:bcp:13", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -121,7 +116,6 @@ v: { "code" : "application/elm+xml", "system" : "urn:ietf:bcp:13", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -142,7 +136,6 @@ v: { "code" : "application/elm+json", "system" : "urn:ietf:bcp:13", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -163,7 +156,6 @@ v: { "code" : "text/cql", "system" : "urn:ietf:bcp:13", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -184,7 +176,6 @@ v: { "code" : "text/cql-identifier", "system" : "urn:ietf:bcp:13", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -205,7 +196,6 @@ v: { "code" : "application/elm+xml", "system" : "urn:ietf:bcp:13", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -226,7 +216,6 @@ v: { "code" : "application/elm+json", "system" : "urn:ietf:bcp:13", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -247,7 +236,6 @@ v: { "code" : "text/cql-identifier", "system" : "urn:ietf:bcp:13", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -260,6 +248,302 @@ v: { v: { "display" : "text/cql-identifier", "code" : "text/cql-identifier", - "system" : "urn:ietf:bcp:13" + "system" : "urn:ietf:bcp:13", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "text/pdf" +}, "valueSet" :{ + "resourceType" : "ValueSet", + "compose" : { + "include" : [{ + "system" : "urn:ietf:bcp:13" + }] + } +}, "langs":"", "useServer":"true", "useClient":"false", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "text/pdf", + "code" : "text/pdf", + "system" : "urn:ietf:bcp:13", + "server" : "http://tx.fhir.org/r4", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "text/pdf" +}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"", "useServer":"true", "useClient":"true", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "text/pdf", + "code" : "text/pdf", + "system" : "urn:ietf:bcp:13", + "server" : "http://tx.fhir.org/r4", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "text/cql" +}, "valueSet" :{ + "resourceType" : "ValueSet", + "compose" : { + "include" : [{ + "system" : "urn:ietf:bcp:13" + }] + } +}, "langs":"en-US", "useServer":"true", "useClient":"false", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "text/cql", + "code" : "text/cql", + "system" : "urn:ietf:bcp:13", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "text/cql" +}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "text/cql", + "code" : "text/cql", + "system" : "urn:ietf:bcp:13", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "application/elm+xml" +}, "valueSet" :{ + "resourceType" : "ValueSet", + "compose" : { + "include" : [{ + "system" : "urn:ietf:bcp:13" + }] + } +}, "langs":"en-US", "useServer":"true", "useClient":"false", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "application/elm+xml", + "code" : "application/elm+xml", + "system" : "urn:ietf:bcp:13", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "application/elm+xml" +}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "application/elm+xml", + "code" : "application/elm+xml", + "system" : "urn:ietf:bcp:13", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "application/elm+json" +}, "valueSet" :{ + "resourceType" : "ValueSet", + "compose" : { + "include" : [{ + "system" : "urn:ietf:bcp:13" + }] + } +}, "langs":"en-US", "useServer":"true", "useClient":"false", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "application/elm+json", + "code" : "application/elm+json", + "system" : "urn:ietf:bcp:13", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "application/elm+json" +}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "application/elm+json", + "code" : "application/elm+json", + "system" : "urn:ietf:bcp:13", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "text/pdf" +}, "valueSet" :{ + "resourceType" : "ValueSet", + "compose" : { + "include" : [{ + "system" : "urn:ietf:bcp:13" + }] + } +}, "langs":"en-US", "useServer":"true", "useClient":"false", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "text/pdf", + "code" : "text/pdf", + "system" : "urn:ietf:bcp:13", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "text/pdf" +}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "text/pdf", + "code" : "text/pdf", + "system" : "urn:ietf:bcp:13", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "text/cql-identifier" +}, "valueSet" :{ + "resourceType" : "ValueSet", + "compose" : { + "include" : [{ + "system" : "urn:ietf:bcp:13" + }] + } +}, "langs":"en-US", "useServer":"true", "useClient":"false", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "text/cql-identifier", + "code" : "text/cql-identifier", + "system" : "urn:ietf:bcp:13", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "code" : "text/cql-identifier" +}, "url": "http://hl7.org/fhir/ValueSet/mimetypes", "version": "4.0.1", "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"true", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "text/cql-identifier", + "code" : "text/cql-identifier", + "system" : "urn:ietf:bcp:13", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + } ------------------------------------------------------------------------------------- diff --git a/input-cache/txcache/loinc.cache b/input-cache/txcache/loinc.cache index eff3eed..e5c12f2 100644 --- a/input-cache/txcache/loinc.cache +++ b/input-cache/txcache/loinc.cache @@ -613,7 +613,6 @@ v: { "error" : "Wrong Display Name 'blood pressure' for http://loinc.org#85354-9. Valid display is 'Blood pressure panel with all children optional' (en-US) (for the language(s) '--')", "class" : "UNKNOWN", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome", "issue" : [{ @@ -653,7 +652,6 @@ v: { "system" : "http://loinc.org", "version" : "2.77", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -676,7 +674,6 @@ v: { "system" : "http://loinc.org", "version" : "2.77", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -699,7 +696,6 @@ v: { "system" : "http://loinc.org", "version" : "2.77", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -722,7 +718,6 @@ v: { "system" : "http://loinc.org", "version" : "2.77", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -745,7 +740,6 @@ v: { "system" : "http://loinc.org", "version" : "2.77", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -768,7 +762,6 @@ v: { "system" : "http://loinc.org", "version" : "2.77", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -791,7 +784,6 @@ v: { "system" : "http://loinc.org", "version" : "2.77", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -814,7 +806,6 @@ v: { "system" : "http://loinc.org", "version" : "2.77", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -837,7 +828,6 @@ v: { "system" : "http://loinc.org", "version" : "2.77", "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", "issues" : { "resourceType" : "OperationOutcome" } @@ -854,6 +844,508 @@ v: { "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" }] }}#### +v: { + "display" : "Perceived difficulty in last 2 weeks [Reported.PHQ]", + "code" : "44256-6", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "72166-2" +}, "valueSet" :null, "langs":"en, en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Tobacco smoking status", + "code" : "72166-2", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "LA6568-5" +}, "valueSet" :null, "langs":"en, en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Not at all", + "code" : "LA6568-5", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "LA6569-3" +}, "valueSet" :null, "langs":"en, en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Several days", + "code" : "LA6569-3", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "LA6570-1" +}, "valueSet" :null, "langs":"en, en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "More than half the days", + "code" : "LA6570-1", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "LA6571-9" +}, "valueSet" :null, "langs":"en, en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Nearly every day", + "code" : "LA6571-9", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "85354-9", + "display" : "Blood pressure panel with all children optional" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Blood pressure panel with all children optional", + "code" : "85354-9", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "72166-2" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Tobacco smoking status", + "code" : "72166-2", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "LA6568-5" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Not at all", + "code" : "LA6568-5", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "LA6569-3" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Several days", + "code" : "LA6569-3", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "LA6570-1" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "More than half the days", + "code" : "LA6570-1", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "LA6571-9" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Nearly every day", + "code" : "LA6571-9", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "44249-1", + "display" : "PHQ-9 quick depression assessment panel [Reported.PHQ]" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "PHQ-9 quick depression assessment panel [Reported.PHQ]", + "code" : "44249-1", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "44250-9" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Little interest or pleasure in doing things in last 2 weeks", + "code" : "44250-9", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "44255-8" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Feeling down, depressed, or hopeless in last 2 weeks", + "code" : "44255-8", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "44259-0" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Trouble falling or staying asleep, or sleeping too much in last 2 weeks [Reported.PHQ]", + "code" : "44259-0", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "44254-1" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Feeling tired or having little energy in last 2 weeks [Reported.PHQ]", + "code" : "44254-1", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "44251-7" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Poor appetite or overeating in last 2 weeks [Reported.PHQ]", + "code" : "44251-7", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "44258-2" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Feeling bad about yourself - or that you are a failure or have let yourself or your family down in last 2 weeks [Reported.PHQ]", + "code" : "44258-2", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "44252-5" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Trouble concentrating on things, such as reading the newspaper or watching television in last 2 weeks [Reported.PHQ]", + "code" : "44252-5", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "44253-3" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Moving or speaking so slowly that other people could have noticed. Or the opposite - being so fidgety or restless that you have been moving around a lot more than usual in last 2 weeks [Reported.PHQ]", + "code" : "44253-3", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "44261-6" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Patient Health Questionnaire 9 item (PHQ-9) total score [Reported]", + "code" : "44261-6", + "system" : "http://loinc.org", + "version" : "2.77", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://loinc.org", + "code" : "44256-6" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### v: { "display" : "Perceived difficulty in last 2 weeks [Reported.PHQ]", "code" : "44256-6", diff --git a/input-cache/txcache/mimetypes.cache b/input-cache/txcache/mimetypes.cache new file mode 100644 index 0000000..53f1c03 --- /dev/null +++ b/input-cache/txcache/mimetypes.cache @@ -0,0 +1,67 @@ +------------------------------------------------------------------------------------- +{"code" : { + "system" : "urn:ietf:bcp:13", + "code" : "text/cql" +}, "valueSet" :null, "langs":"en, en-US, en_US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "text/cql", + "code" : "text/cql", + "system" : "urn:ietf:bcp:13", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "urn:ietf:bcp:13", + "code" : "application/elm+xml" +}, "valueSet" :null, "langs":"en, en-US, en_US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "application/elm+xml", + "code" : "application/elm+xml", + "system" : "urn:ietf:bcp:13", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "urn:ietf:bcp:13", + "code" : "application/elm+json" +}, "valueSet" :null, "langs":"en, en-US, en_US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "application/elm+json", + "code" : "application/elm+json", + "system" : "urn:ietf:bcp:13", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- diff --git a/input-cache/txcache/snomed.cache b/input-cache/txcache/snomed.cache index c7bddd8..0387862 100644 --- a/input-cache/txcache/snomed.cache +++ b/input-cache/txcache/snomed.cache @@ -1,4 +1,4 @@ -------------------------------------------------------------------------------------- +------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "376988009", @@ -9,20 +9,19 @@ "name" : "x-system-cache-id", "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" }] -}}#### -v: { - "display" : "Product containing precisely levothyroxine sodium 75 microgram/1 each conventional release oral tablet (clinical drug)", - "code" : "376988009", - "system" : "http://snomed.info/sct", - "version" : "http://snomed.info/sct/900000000000207008/version/20240201", - "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", - "issues" : { - "resourceType" : "OperationOutcome" -} - -} -------------------------------------------------------------------------------------- +}}#### +v: { + "display" : "Product containing precisely levothyroxine sodium 75 microgram/1 each conventional release oral tablet (clinical drug)", + "code" : "376988009", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20240201", + "server" : "http://tx.fhir.org/r4", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "26643006", @@ -33,20 +32,19 @@ v: { "name" : "x-system-cache-id", "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" }] -}}#### -v: { - "display" : "Oral route", - "code" : "26643006", - "system" : "http://snomed.info/sct", - "version" : "http://snomed.info/sct/900000000000207008/version/20240201", - "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", - "issues" : { - "resourceType" : "OperationOutcome" -} - -} -------------------------------------------------------------------------------------- +}}#### +v: { + "display" : "Oral route", + "code" : "26643006", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20240201", + "server" : "http://tx.fhir.org/r4", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "260988000", @@ -57,20 +55,19 @@ v: { "name" : "x-system-cache-id", "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" }] -}}#### -v: { - "display" : "Below threshold level", - "code" : "260988000", - "system" : "http://snomed.info/sct", - "version" : "http://snomed.info/sct/900000000000207008/version/20240201", - "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", - "issues" : { - "resourceType" : "OperationOutcome" -} - -} -------------------------------------------------------------------------------------- +}}#### +v: { + "display" : "Below threshold level", + "code" : "260988000", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20240201", + "server" : "http://tx.fhir.org/r4", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- {"code" : { "system" : "http://snomed.info/sct", "code" : "260415000", @@ -81,17 +78,110 @@ v: { "name" : "x-system-cache-id", "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" }] -}}#### -v: { - "display" : "Not detected", - "code" : "260415000", - "system" : "http://snomed.info/sct", - "version" : "http://snomed.info/sct/900000000000207008/version/20240201", - "server" : "http://tx.fhir.org/r4", - "unknown-systems" : "", - "issues" : { - "resourceType" : "OperationOutcome" -} - -} -------------------------------------------------------------------------------------- +}}#### +v: { + "display" : "Not detected", + "code" : "260415000", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20240201", + "server" : "http://tx.fhir.org/r4", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "260988000", + "display" : "Below threshold level (qualifier value)" +}, "valueSet" :null, "langs":"", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Below threshold level", + "code" : "260988000", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20240201", + "server" : "http://tx.fhir.org/r4", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "260415000", + "display" : "Not detected (qualifier value)" +}, "valueSet" :null, "langs":"", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Not detected", + "code" : "260415000", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20240201", + "server" : "http://tx.fhir.org/r4", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "260988000", + "display" : "Below threshold level (qualifier value)" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Below threshold level", + "code" : "260988000", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20240201", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- +{"code" : { + "system" : "http://snomed.info/sct", + "code" : "260415000", + "display" : "Not detected (qualifier value)" +}, "valueSet" :null, "langs":"en-US", "useServer":"true", "useClient":"true", "guessSystem":"false", "activeOnly":"false", "membershipOnly":"false", "displayWarningMode":"false", "versionFlexible":"true", "profile": { + "resourceType" : "Parameters", + "parameter" : [{ + "name" : "x-system-cache-id", + "valueString" : "dc8fd4bc-091a-424a-8a3b-6198ef146891" + }] +}}#### +v: { + "display" : "Not detected", + "code" : "260415000", + "system" : "http://snomed.info/sct", + "version" : "http://snomed.info/sct/900000000000207008/version/20240201", + "server" : "http://tx.fhir.org/r4", + "unknown-systems" : "", + "issues" : { + "resourceType" : "OperationOutcome" +} + +} +------------------------------------------------------------------------------------- diff --git a/input-cache/txcache/system-map.json b/input-cache/txcache/system-map.json index e07d047..777cae8 100644 --- a/input-cache/txcache/system-map.json +++ b/input-cache/txcache/system-map.json @@ -5,6 +5,11 @@ "authoritative" : [], "candidates" : [] }, + { + "system" : "http://ihe.net/qrph/adx/", + "authoritative" : [], + "candidates" : [] + }, { "system" : "http://loinc.org", "authoritative" : [], diff --git a/input/resources/measure/Measure-HIVViralSuppressionFHIRExample.json b/input/resources/measure/Measure-HIVViralSuppressionFHIRExample.json index d599d38..57c3df7 100644 --- a/input/resources/measure/Measure-HIVViralSuppressionFHIRExample.json +++ b/input/resources/measure/Measure-HIVViralSuppressionFHIRExample.json @@ -449,7 +449,7 @@ "contact": [ { "telecom": [ { "system": "url", - "value": " https://www.hrsa.gov/" + "value": "https://www.hrsa.gov/" } ] } ], "description": "Percentage of patients, regardless of age, diagnosed with HIV prior to or during the first 90 days of the measurement period, with an eligible encounter in the first 240 days of the measurement period, whose last HIV viral load test result was less than 200 copies/mL during the measurement period", @@ -467,7 +467,7 @@ } } ], "purpose": "UNKNOWN", - "usage": "HIV viral load data should be captured either as a numeric value or as a character/text value, depending on whether a given viral load result falls above or below the lab’s lower limit of detection. For viral loads at or above the lower limit of detection, the viral load should be captured as a numeric value (expressed as the number of copies/mL). For viral loads below the lower limit of detection, the viral load should be populated with a character/text value equivalent to \"Below lower limit of detection.\" The EHR need not record this character value using this exact wording (for example, the character value could be recorded as \"<20 copies/mL\" or \"not detected\"), but values below the lower limit of detection should be documented to allow the submitter to accurately map them to a value of \"Below lower limit of detection\" for reporting purposes.\n\nThis eCQM is a patient-based measure.\n\nThis FHIR-based measure has been derived from the QDM-based measure: CMS314v1. \n\nPlease refer to the HL7 QI-Core Implementation Guide (http://hl7.org/fhir/us/qicore/index.html) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (http://hl7.org/fhir/us/qicore/qdm-to-qicore.html).", + "usage": "HIV viral load data should be captured either as a numeric value or as a character/text value, depending on whether a given viral load result falls above or below the lab's lower limit of detection. For viral loads at or above the lower limit of detection, the viral load should be captured as a numeric value (expressed as the number of copies/mL). For viral loads below the lower limit of detection, the viral load should be populated with a character/text value equivalent to \"Below lower limit of detection.\" The EHR need not record this character value using this exact wording (for example, the character value could be recorded as \"<20 copies/mL\" or \"not detected\"), but values below the lower limit of detection should be documented to allow the submitter to accurately map them to a value of \"Below lower limit of detection\" for reporting purposes.\n\nThis eCQM is a patient-based measure.\n\nThis FHIR-based measure has been derived from the QDM-based measure: CMS314v1. \n\nPlease refer to the HL7 QI-Core Implementation Guide (http://hl7.org/fhir/us/qicore/index.html) for more information on QI-Core and mapping recommendations from QDM to QI-Core 4.1.1 (http://hl7.org/fhir/us/qicore/qdm-to-qicore.html).", "copyright": "This measure was developed by the Health Resources & Services Administration (HRSA) of the U.S. Department of Health & Human Services (HHS). It is in the public domain.\n\nCitation of HRSA as the source of the original measure is appreciated. Any modified versions may not be represented as approved, endorsed, or authorized by HRSA or HHS. 42 U.S.C. Section 1320b-10. Users of modified versions should clearly explain how they deviate from HRSA's original measure.\n\nLimited proprietary coding is contained in the Measure specifications for user convenience. Users of proprietary code sets should obtain all necessary licenses from the owners of the code sets. \n\nCPT(R) contained in the Measure specifications is copyright 2004-2022 American Medical Association. LOINC(R) is copyright 2004-2022 Regenstrief Institute, Inc. This material contains SNOMED Clinical Terms(R) (SNOMED CT[R]) copyright 2004-2022 International Health Terminology Standards Development Organisation. ICD-10 is copyright 2022 World Health Organization. All Rights Reserved.\n\nDue to technical limitations, registered trademarks are indicated by (R) or [R] and unregistered trademarks are indicated by (TM) or [TM].", "approvalDate": "2023-08-14", "lastReviewDate": "2023-08-14", @@ -479,7 +479,7 @@ "name": "Health Resources & Services Administration", "telecom": [ { "system": "url", - "value": " https://www.hrsa.gov/" + "value": "https://www.hrsa.gov/" } ] } ], "library": [ "http://somewhere.org/fhir/uv/mycontentig/Library/HIVViralSuppressionFHIRExample" ], diff --git a/templates/liquid/Measure.liquid b/templates/liquid/Measure.liquid index c0fcb18..8ea66df 100644 --- a/templates/liquid/Measure.liquid +++ b/templates/liquid/Measure.liquid @@ -1,1002 +1,8 @@ -
- - {% if Measure.title.exists() %} - - - - - {% endif %} - - {% if Measure.subtitle.exists() %} - - - - - {% endif %} - - {% if Measure.id.exists() %} - - - - - {% endif %} - - {% if Measure.version.exists() %} - - - - - {% endif %} - - {% if Measure.url.exists() %} - - - - - {% endif %} - - {% for identifier in Measure.identifier %} - - - - - - {% endfor %} - - {% if Measure.effectivePeriod.exists() %} - - - - - {% endif %} - - {% if Measure.status.exists() and Measure.status.value != 'active' %} - - - - - {% endif %} - - {% if Measure.experimental.exists() and Measure.experimental.value = 'true' %} - - - - - {% endif %} - - {% if Measure.publisher.exists() %} - - - - - {% endif %} - - {% if Measure.author.exists() and Measure.author.name.exists() %} - - - - - {% endif %} - - {% if Measure.endorser.exists() and Measure.endorser.name.exists() %} - - - - - {% endif %} - - {% if Measure.description.exists() %} - - - - - {% endif %} - - {% if Measure.extension.where(url = 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability').exists() %} - - - - - {% endif %} - - {% if Measure.extension.where(url = 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel').exists() %} - - - - - {% endif %} - - {% if Measure.useContext.exists() %} - - - - - {% endif %} - - {% if Measure.jurisdiction.exists() %} - - - - - {% endif %} - - {% if Measure.topic.exists() %} - - - - - {% endif %} - - {% if Measure.purpose.exists() %} - - - - - {% endif %} - - {% if Measure.copyright.exists() %} - - - - - {% endif %} - - {% if Measure.disclaimer.exists() %} - - - - - {% endif %} - - {% if Measure.subject.exists() %} - - - {% if Measure.subject is CodeableConcept %} - - {% endif %} - {% if Measure.subject is Reference %} - - {% endif %} - - {% endif %} - - {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis').exists() %} - - - - - {% endif %} - - {% if Measure.scoring.exists() %} - - - - - {% endif %} - - {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringUnit').exists() %} - - - - - {% endif %} - - {% if Measure.type.exists() %} - - - - - {% endif %} - - {% if Measure.riskAdjustment.exists() %} - - - - - {% endif %} - - {% if Measure.rateAggregation.exists() %} - - - - - {% endif %} - - {% if Measure.rationale.exists() %} - - - - - {% endif %} - - {% if Measure.clinicalRecommendationStatement.exists() %} - - - - - {% endif %} - - {% if Measure.improvementNotation.exists() %} - - - - - {% endif %} - - {% if Measure.usage.exists() %} - - - - - {% endif %} - - {% if Measure.group.exists() %} - {% if Measure.group[0].population.description.exists() %} - - - - - {% endif %} - {% endif %} - - {% if Measure.supplementalData.usage.coding.where(code = 'supplemental-data').exists() %} - - - - - {% endif %} - - {% if Measure.supplementalData.usage.coding.where(code = 'risk-adjustment-factor').exists() %} - - - - - {% endif %} - - {% for extension in Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance') %} - - - - - {% endfor %} - - {% if Measure.library.exists() %} - - - - - {% endif %} - - {% if Measure.relatedArtifact.exists() %} - - - - - {% endif %} - - {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements').exists() %} - {% for contained in Measure.contained.where(id = 'effective-data-requirements') %} - - - - - - - - - - - - - - - {% if contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode').exists() %} - - - - - {% endif %} - - {% if contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition').exists() %} - - - - - {% endif %} - {% endfor %} - {% else %} - {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement').exists() %} - {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter').exists() %} - - - - - {% endif %} - {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement').exists() %} - - - - - {% endif %} - {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode').exists() %} - - - - - {% endif %} - {% if Measure.group.exists() %} - - - - - {% endif %} - {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition').exists() %} - - - - - {% endif %} - {% endif %} - {% endif %} - -
Title: {{Measure.title}}
Subtitle: {{Measure.subtitle}}
Id: {{Measure.id}}
Version: {{Measure.version}}
Url: {{Measure.url}}
- - {% if identifier.type.coding.exists() %} - {% if identifier.type.coding.display.exists() %} - {{identifier.type.coding.display}}{% if identifier.assigner.display.exists() %} ({{identifier.assigner.display}}){% endif %} Identifier: - {% else %} - {{identifier.type.coding.code}}{% if identifier.assigner.display.exists() %} ({{identifier.assigner.display}}){% endif %} identifier: - {% endif %} - {% else %} - {{identifier.use}} - {% endif %} - - - {% if identifier.value.exists() %} -

- {{identifier.value}} -

- {% endif %} -
Effective Period: {{Measure.effectivePeriod.start}}..{{Measure.effectivePeriod.end}}
Status: {{Measure.status.value}}
Experimental: {{Measure.experimental.value}}
Publisher: {{Measure.publisher}}
Author: {{Measure.author.name}}
Endorser: {{Measure.endorser.name}}
Description: {{Measure.description}}
Knowledge Capability: - {% for extension in Measure.extension.where(url = 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability') %}{{extension.value}} {% endfor %} -
Knowledge Representation Level: - {% for extension in Measure.extension.where(url = 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel') %}{{extension.value}}{% endfor %} -
Use Context: - - - - - - {% for useContext in Measure.useContext %} - - - - - {% endfor %} -
codevalue
{{useContext.code.code}}{{useContext.value.text}}
-
Jurisdiction: {{Measure.jurisdiction.first().coding.first().code}}
Topic: {{Measure.topic.first().coding.first().code}}
Purpose: {{Measure.purpose}}
Copyright: {{Measure.copyright}}
Disclaimer: {{Measure.disclaimer}}
Subject: - {% if Measure.subject.coding.exists() %} - {% for coding in Measure.subject.coding %} -

- {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system.exists(), '(' + coding.system + ')', '')}} -

- {% endfor %} - {% endif %} - {% if Measure.subject.coding.exists().not() and Measure.subject.text.exists() %} - {{Measure.subject.text}} - {% endif %} -
- {% if Measure.subject.reference.exists() %} -

- reference: {{Measure.subject.reference}} -

- {% endif %} - {% if Measure.subject.type.exists() %} -

- type: {{Measure.subject.type}} -

- {% endif %} - {% if Measure.subject.display.exists() %} -

- code: {{Measure.subject.display}} -

- {% endif %} -
Basis: - {{Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis').first().value}} -
Scoring: - {% if Measure.scoring.coding.exists() %} - {% for coding in Measure.scoring.coding %} -

- {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system != 'http://terminology.hl7.org/CodeSystem/measure-scoring', '(' + coding.system + ')', '')}} -

- {% endfor %} - {% endif %} - {% if Measure.scoring.coding.exists().not() and Measure.scoring.text.exists() %} - {{Measure.scoring.text}} - {% endif %} -
Scoring unit: - {% for scoringUnit in Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringUnit') %} - {% if scoringUnit.coding.exists() %} - {% for coding in scoringUnit.coding %} -

- {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system != 'http://unitsofmeasure.org', '(' + coding.system + ')', '')}} -

- {% endfor %} - {% endif %} - {% if scoringUnit.coding.exists().not() and scoringUnit.text.exists() %} - {{scoringUnit.text}} - {% endif %} - {% endfor %} -
Type: - {% if Measure.type.coding.exists() %} - {% for coding in Measure.type.coding %} -

- {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system != 'http://terminology.hl7.org/CodeSystem/measure-type', '(' + coding.system + ')', '')}} -

- {% endfor %} - {% endif %} - {% if Measure.type.coding.exists().not() and Measure.type.text.exists() %} - {{Measure.type.text}} - {% endif %} -
Risk Adjustment: {{Measure.riskAdjustment}}
Rate Aggregation: {{Measure.rateAggregation}}
Rationale: {{Measure.rationale}}
Clinical recommendation statement: {{Measure.clinicalRecommendationStatement}}
Improvement Notation: - {% if Measure.improvementNotation.coding.exists() %} - {% for coding in Measure.improvementNotation.coding %} -

- {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system != 'http://terminology.hl7.org/CodeSystem/measure-improvement-notation', '(' + coding.system + ')', '')}} -

- {% endfor %} - {% endif %} - {% if Measure.improvementNotation.coding.exists().not() and Measure.improvementNotation.text.exists() %} - {{Measure.improvementNotation.text}} - {% endif %} -
Guidance (Usage): {{Measure.usage}}
Population Criteria: - {% for group in Measure.group %} - - {% if group.id.exists() %} - - - - {% endif %} - {% for population in group.population %} - - - - {% if population.criteria.expression.exists().not() %} - - {% else %} - {% if population.description.exists() %} - - {% else %} - - {% endif %} - {% endif %} - - - {% endfor %} - {% if group.stratifier.exists() %} - Stratifier Criteria: - {% for stratifier in group.stratifier %} - - {% if stratifier.code.coding[0].display.exists() %} - - {% elsif stratifier.code.coding[0].code.exists() %} - - {% else %} - - {% endif %} - - {% if stratifier.description.exists() %} - - {% else %} - - {% endif %} - - {% endfor %} - {% endif %} -
{{group.id}}
{{population.code.coding[0].display}}:None{{population.description}}None
{{stratifier.code.coding[0].display}}:{{stratifier.code.coding[0].code}}:Stratum:{{stratifier.description}}None
- {% endfor %} -
Supplemental Data Elements: - {% for supplementalData in Measure.supplementalData.where(usage.coding.where(code = 'supplemental-data').exists()) %} - {% if supplementalData.code.exists() %} - {{iif(supplementalData.code.text.exists(), supplementalData.code.text, iif(supplementalData.code.coding.first().display.exists(), supplementalData.code.coding.first().display, supplementalData.code.coding.first().code))}} - {% else %} - {% if supplementalData.description.exists() %} -

{{supplementalData.description}}

- {% else %} - {% if supplementalData.criteria.description.exists() %} -

{{supplementalData.criteria.description}}

- {% else %} -

{{supplementalData.criteria.expression}}

- {% endif %} - {% endif %} - {% endif %} - {% endfor %} -
Risk Adjustment Variable: - {% for supplementalData in Measure.supplementalData.where(usage.coding.where(code = 'risk-adjustment-factor').exists()) %} - {% if supplementalData.code.exists() %} - {{iif(supplementalData.code.text.exists(), supplementalData.code.text, iif(supplementalData.code.coding.first().display.exists(), supplementalData.code.coding.first().display, supplementalData.code.coding.first().code))}} - {% else %} - {% if supplementalData.description.exists() %} -

{{supplementalData.description}}

- {% else %} - {% if supplementalData.criteria.description.exists() %} -

{{supplementalData.criteria.description}}

- {% else %} -

{{supplementalData.criteria.expression}}

- {% endif %} - {% endif %} - {% endif %} - {% endfor %} -
- {{iif(extension.extension.where(url = 'usage').value.text.exists(), extension.extension.where(url = 'usage').value.text, iif(extension.extension.where(url = 'usage').coding.first().display.exists(), extension.extension.where(url = 'usage').coding.first().display, extension.extension.where(url = 'usage').coding.first().code))}} - : {{extension.extension.where(url = 'guidance').value}}
Libraries: - - {% for library in Measure.library %} - - - - {% endfor %} -
{{library}}
-
Related Artifacts: - {% if Measure.relatedArtifact.where(type = 'documentation' or type = 'justification').exists() %} -

Documentation

- - {% endif %} - {% if Measure.relatedArtifact.where(type = 'citation').exists() %} -

References

-
    - {% for artifact in Measure.relatedArtifact.where(type = 'citation') %} -
  • {{artifact.citation}}
    {{artifact.url}}
  • - {% endfor %} -
- {% endif %} - {% if Measure.relatedArtifact.where(type = 'depends-on').exists() and - Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements').exists().not() %} -

Dependencies

-
    - {% for artifact in Measure.relatedArtifact.where(type = 'depends-on') %} -
  • {{artifact.display}}
  • - {% endfor %} -
- {% endif %} - {% if Measure.relatedArtifact.where(type = 'composed-of').exists() %} -

Components

-
    - {% for artifact in Measure.relatedArtifact.where(type = 'composed-of') %} -
  • {{artifact.resource}}
  • - {% endfor %} -
- {% endif %} - {% if Measure.relatedArtifact.where(type = 'derived-from').exists() %} -

Derived From

-
    - {% for artifact in Measure.relatedArtifact.where(type = 'derived-from') %} -
  • {{artifact.resource}}
  • - {% endfor %} -
- {% endif %} - {% if Measure.relatedArtifact.where(type = 'successor').exists() %} -

Successor

-
    - {% for artifact in Measure.relatedArtifact.where(type = 'successor') %} -
  • {{artifact.resource}}
  • - {% endfor %} -
- {% endif %} - {% if Measure.relatedArtifact.where(type = 'predecessor').exists() %} -

Predecessor

-
    - {% for artifact in Measure.relatedArtifact.where(type = 'predecessor') %} -
  • {{artifact.resource}}
  • - {% endfor %} -
- {% endif %} -
Terminology and Other Dependencies: - {% for relatedArtifact in contained.relatedArtifact.where(type = 'depends-on') %} -
  • {{relatedArtifact.resource}}
  • - {% endfor %} -
    Parameters: - - - - - - - - - {% for parameter in contained.parameter %} - - - - - - - - {% endfor %} -
    nameuseminmaxtype
    {{parameter.name}}{{parameter.use}}{{parameter.min}}{{parameter.max}}{{parameter.type}}
    -
    DataRequirements: - - - - - - - - {% for dataRequirement in contained.dataRequirement %} - - - - - - - {% endfor %} -
    Resource TypeResource ElementsValueset NameValueset
    {{dataRequirement.type}}{% if dataRequirement.profile.exists() %}({{dataRequirement.profile.first()}}){% endif %} - {% for mustSupport in dataRequirement.mustSupport %} - {{mustSupport}} - {% endfor %} - - {% for relatedArtifact in contained.relatedArtifact.where(resource = dataRequirement.codeFilter.first().valueSet) %} - {% if relatedArtifact.display.startsWith('Value set ') %} - {{relatedArtifact.display.substring(9).replace(' &', ',')}} - {% else %} - {{relatedArtifact.display.replace(' &', ',')}} - {% endif %} - {% endfor %} - {{dataRequirement.codeFilter.first().valueSet}}
    -
    Direct Reference Codes: - - - - - - - {% for extension in contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode') %} - - - - - - {% endfor %} -
    displaycodesystem
    {{extension.value.display}}{{extension.value.code}}{{extension.value.system}}
    -
    Logic Definitions: - {% if Measure.group.exists() %} - - - - - - - - - {% for group in Measure.group %} - - - - - - {% endif %} - - {% if Measure.scoring.exists() %} - Measure scoring: - {% for coding in Measure.scoring.coding %} -

    - {{iif(coding.display.exists(), coding.display, coding.code)}} -

    - {% endfor %} - {% endif %} - - {% if Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringUnit').exists() %} - - - - - {% endif %} - - {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type').exists() %} - - {% for extension in group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type') %} - - - {% endfor %} - - {% endif %} - - {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-riskAdjustment').exists() %} - - - - - {% endif %} - - {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-rateAggregation').exists() %} - - - - - {% endif %} - - {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-improvementNotation').exists() %} - - - - - {% endif %} - - {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo').exists() %} - - - - - {% endif %} - - - {% for population in group.population %} - - - - - {% endfor %} - {% for stratifier in group.stratifier %} - - - - - {% endfor %} - {% endfor %} - -
    GroupScoringPopulation CriteriaExpression
    {{group.id}} - {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring').exists() %} - Group scoring: - {% for extension in group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring') %} - {{extension.value.coding.code}} - {% endfor %} - {% endif %} - - {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringUnit').exists() %} -
    Scoring unit: - {% for scoringUnit in group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringUnit') %} - {% if scoringUnit.coding.exists() %} - {% for coding in scoringUnit.coding %} -

    - {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system != 'http://unitsofmeasure.org', '(' + coding.system + ')', '')}} -

    - {% endfor %} - {% endif %} - {% if scoringUnit.coding.exists().not() and scoringUnit.text.exists() %} - {% endif %} - {% endfor %} -
    Scoring unit: - {% for scoringUnit in Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringUnit') %} - {% if scoringUnit.coding.exists() %} - {% for coding in scoringUnit.coding %} -

    - {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system != 'http://unitsofmeasure.org', '(' + coding.system + ')', '')}} -

    - {% endfor %} - {% endif %} - {% if scoringUnit.coding.exists().not() and scoringUnit.text.exists() %} - {% endif %} - {% endfor %} -
    Type: - {% if extension.value.coding.exists() %} - {% for coding in extension.value.coding %} -

    - {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system != 'http://terminology.hl7.org/CodeSystem/measure-type', '(' + coding.system + ')', '')}} -

    - {% endfor %} - {% endif %} - {% if extension.value.coding.exists().not() and extension.text.exists() %} - {{extension.text}} - {% endif %} -
    Risk Adjustment: {{group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-riskAdjustment').value}}
    Rate Aggregation: {{group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-rateAggregation').value}}
    Improvement Notation: - {% for extension in group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-improvementNotation') %} - {% if extension.value.coding.exists() %} - {% for coding in extension.value.coding %} -

    - {{iif(coding.display.exists(), coding.display, coding.code)}} {{iif(coding.system != 'http://terminology.hl7.org/CodeSystem/measure-improvement-notation', '(' + coding.system + ')', '')}} -

    - {% endfor %} - {% endif %} - {% if extension.value.coding.exists().not() and extension.text.exists() %} - {{extension.text}} - {% endif %} - {% endfor %} -
    Applies To: {{group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-appliesTo').value}}
    - - {{population.code.first().coding.first().display}} - {% if population.criteria.expression %} -
    {{(Measure.contained.where(id = 'effective-data-requirements').extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition' and extension.where(url = 'name' and value = population.criteria.expression)).extension.where(url = 'statement').value)}}
    - {% else %} - None - {% endif %} -
    - - {{stratifier.code.first().coding.first().display}} - {% if stratifier.criteria.expression %} -
    {{(Measure.contained.where(id = 'effective-data-requirements').extension.where(url = 'http://http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition' and extension.where(url = 'name' and value = stratifier.criteria.expression)).extension.where(url = 'statement').value)}}
    - {% else %} - None - {% endif %} -
    - {% endif %} - - - {% for extension in contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition') %} - - - - - - {% for lNameExtension in extension.extension.where(url = 'libraryName') %} - - {% endfor %} - {% for nameExtension in extension.extension.where(url = 'name') %} - - {% endfor %} - - - {% for statementExtension in extension.extension.where(url = 'statement') %} - - - {% endfor %} - - {% endfor %} -
    Library NameName
    {{lNameExtension.value}}{{nameExtension.value}}
    -
    {{statementExtension.value}}
    -
    -
    Parameters: - - - {% for extension in Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-parameter') %} - - - - - - - - {% endfor %} -
    nameuseminmaxtype
    {{extension.value.name}}{{extension.value.use}}{{extension.value.min}}{{extension.value.max}}{{extension.value.type}}
    -
    Data Requirements: - - - {% for extension in Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-dataRequirement') %} - - - - {% if extension.value.codeFilter.first().valueSet.exists() %} - - - {% endif %} - {% if extension.value.codeFilter.first().code.exists() %} - - - {% endif %} - - {% endfor %} -
    typepathvalueSet or systemcode
    {{extension.value.type}}{{extension.value.codeFilter.first().path}}{{extension.value.codeFilter.first().valueSet}}{{extension.value.codeFilter.first().code.first().system}}{{extension.value.codeFilter.first().code.first().code}}
    -
    Direct Reference Codes: - - - {% for extension in Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode') %} - - - - - - {% endfor %} -
    displaycodesystem
    {{extension.value.display}}{{extension.value.code}}{{extension.value.system}}
    -
    Populations: - - - {% for group in Measure.group %} - - - {% for population in group.population %} - - - - - {% endfor %} - {% for stratifier in group.stratifier %} - - - - - {% endfor %} - - {% endfor %} -
    GroupPopulationDescription
    {{group.id}}
    - {{population.code.first().coding.first().display}} - {% if population.description %} - {{(population.description)}} - {% endif %} -
    - {{stratifier.code.first().coding.first().display}} - {% if stratifier.description %} - {{(stratifier.description)}} - {% endif %} -
    -
    Logic Definitions: - {% if Measure.group.exists() %} - - - - - - {% for group in Measure.group %} - - - {% for population in group.population %} - - - - - - {% endfor %} - {% for stratifier in group.stratifier %} - - - - - - {% endfor %} - {% endfor %} - -
    GroupScoringPopulation CriteriaExpression
    {{group.id}} - {% if group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring').exists() %} - Group scoring: - {% for extension in group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring') %} - {{extension.value.coding.code}} - {% endfor %} - {% endif %} - {% if Measure.scoring.exists() %} - Measure scoring: - {% for coding in Measure.scoring.coding %} -

    - {{iif(coding.display.exists(), coding.display, coding.code)}} -

    - {% endfor %} - {% endif %} -
    Should be empty - - {{population.code.first().coding.first().display}} - {% if population.criteria.expression %} -
    {{(Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition' and extension.where(url = 'name' and value = population.criteria.expression)).extension.where(url = 'statement').value)}}
    - {% else %} - None - {% endif %} -
    Should be empty - - {{stratifier.code.first().coding.first().display}} - {% if stratifier.criteria.expression %} -
    {{(Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition' and extension.where(url = 'name' and value = stratifier.criteria.expression)).extension.where(url = 'statement').value)}}
    - {% else %} - None - {% endif %} -
    - {% endif %} - {% for extension in Measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition') %} - - - - {% for lNameExtension in extension.extension.where(url = 'libraryName') %} - - {% endfor %} - {% for nameExtension in extension.extension.where(url = 'name') %} - - {% endfor %} - -
    Library NameName
    {{lNameExtension.value}}{{nameExtension.value}}
    - {% for statementExtension in extension.extension.where(url = 'statement') %} -
    {{statementExtension.value}}
    - {% endfor %} -

    - {% endfor %} -
    -
    +{%include narrative-start.html %} +{%include knowledge-artifact-metadata.html %} +{%include measure-metadata.html measure=Measure %} +{%include measure-population-criteria.html measure=Measure %} +{%include measure-supplementaldata.html measure=Measure %} +{%include measure-logic.html measure=Measure %} +{%include version.html %} +{%include narrative-end.html %} \ No newline at end of file diff --git a/templates/liquid/datarequirement.html b/templates/liquid/datarequirement.html new file mode 100644 index 0000000..cab1405 --- /dev/null +++ b/templates/liquid/datarequirement.html @@ -0,0 +1,42 @@ +{% for dataRequirement in include.dataRequirement.distinct() %} + + {{include.header}} + + Type: {{dataRequirement.type}} +
    + {% if dataRequirement.profile.exists() %} + Profile(s): + {% for profile in dataRequirement.profile %} + {{profile}} +
    + {% endfor %} + {% endif %} + {% if dataRequirement.mustSupport.exists() %} + Must Support Elements: {{dataRequirement.mustSupport.join(', ')}} +
    + {% endif %} + {% if dataRequirement.codeFilter.exists() %} + Code Filter(s): +
    + {% for codeFilter in dataRequirement.codeFilter %} + {% if codeFilter.path.exists() %} + Path: {{codeFilter.path}} +
    + {% endif %} + {% if codeFilter.searchParam.exists() %} + Search Parameter: {{codeFilter.searchParam}} +
    + {% endif %} + {% if codeFilter.valueSet.exists() %} + ValueSet: {{codeFilter.valueSet}} +
    + {% endif %} + {% if codeFilter.code.exists() %} + Code: {{codeFilter.code.join(', ')}} +
    + {% endif %} + {% endfor %} + {% endif %} + + +{% endfor %} \ No newline at end of file diff --git a/templates/liquid/default-list.html b/templates/liquid/default-list.html new file mode 100644 index 0000000..e0c30ae --- /dev/null +++ b/templates/liquid/default-list.html @@ -0,0 +1,3 @@ +{% for item in include.content %} +{%include row-new.html header=include.header content=item %} +{% endfor %} \ No newline at end of file diff --git a/templates/liquid/default.html b/templates/liquid/default.html new file mode 100644 index 0000000..0222ce6 --- /dev/null +++ b/templates/liquid/default.html @@ -0,0 +1,3 @@ +{% if include.content.exists() %} +{%include row-new.html header=include.header content=include.content %} +{% endif %} \ No newline at end of file diff --git a/templates/liquid/direct-reference-code.html b/templates/liquid/direct-reference-code.html new file mode 100644 index 0000000..ef2d949 --- /dev/null +++ b/templates/liquid/direct-reference-code.html @@ -0,0 +1,14 @@ +{% for directReferenceCode in include.contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode') %} + + Direct Reference Code + + {% if directReferenceCode.value.display.exists() %} + Display: {{directReferenceCode.value.display}} +
    + {% endif %} + Code: {{directReferenceCode.value.code}} +
    + System: {{directReferenceCode.value.system.toString()}} + + +{% endfor %} \ No newline at end of file diff --git a/templates/liquid/knowledge-artifact-metadata-extensions.html b/templates/liquid/knowledge-artifact-metadata-extensions.html new file mode 100644 index 0000000..cbb6060 --- /dev/null +++ b/templates/liquid/knowledge-artifact-metadata-extensions.html @@ -0,0 +1,19 @@ +{% for cqfmComment in include.resource.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-artifactComment') %} + {% if cqfmComment.extension.where(url = 'text').exists() %} + {%include default.html header='Comment' content=cqfmComment.extension.where(url = 'text').value %} + {% endif %} +{% endfor %} +{% for cqfComment in include.resource.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/cqf-artifactComment') %} + {% if cqfComment.extension.where(url = 'text').exists() %} + {%include default.html header='Comment' content=cqfComment.extension.where(url = 'text').value %} + {% endif %} +{% endfor %} +{% for cqfKnowledgeCap in include.resource.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/cqf-knowledgeCapability') %} + {%include default.html header='Knowledge Capability' content=cqfKnowledgeCap.value %} +{% endfor %} +{% for cpgKnowledgeCap in include.resource.extension.where(url = 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeCapability') %} + {%include default.html header='Knowledge Capability' content=cpgKnowledgeCap.value %} +{% endfor %} +{% for cpgKnowledgeRepLevel in include.resource.extension.where(url = 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel') %} + {%include default.html header='Knowledge Representation Level' content=cpgKnowledgeRepLevel.value %} +{% endfor %} diff --git a/templates/liquid/knowledge-artifact-metadata.html b/templates/liquid/knowledge-artifact-metadata.html new file mode 100644 index 0000000..f4b85f0 --- /dev/null +++ b/templates/liquid/knowledge-artifact-metadata.html @@ -0,0 +1,22 @@ +{%include section-header.html header='Knowledge Artifact Metadata' %} +{%include default.html header='Name (machine-readable)' content=Resource.name %} +{%include default.html header='Title (human-readable)' content=Resource.title %} +{%include default.html header='Subtitle' content=Resource.subtitle %} +{%include default.html header='Status' content=Resource.status %} +{%include default.html header='Experimental' content=Resource.experimental %} +{%include default.html header='Description' content=Resource.description %} +{%include default.html header='Purpose' content=Resource.purpose %} +{%include default.html header='Clinical Usage' content=Resource.usage %} +{%include default.html header='Approval Date' content=Resource.approvalDate %} +{%include period.html header='Effective Period' period=Resource.effectivePeriod %} +{%include default-list.html header='Use Context' content=Resource.useContext %} +{%include default-list.html header='Topic' content=Resource.topic %} +{%include default-list.html header='Measure Developer' content=Resource.author %} +{%include default-list.html header='Measure Editor' content=Resource.editor %} +{%include default-list.html header='Measure Reviewer' content=Resource.reviewer %} +{%include default-list.html header='Measure Endorser' content=Resource.endorser %} +{%include default.html header='Measure Steward' content=Resource.publisher %} +{%include default-list.html header='Steward Contact Details' content=Resource.contact %} +{%include default.html header='Copyright' content=Resource.copyright %} +{%include related-artifact.html relatedArtifact=Resource.relatedArtifact %} +{%include knowledge-artifact-metadata-extensions.html resource=Resource %} \ No newline at end of file diff --git a/templates/liquid/logic-definition.html b/templates/liquid/logic-definition.html new file mode 100644 index 0000000..c6fa4e6 --- /dev/null +++ b/templates/liquid/logic-definition.html @@ -0,0 +1,21 @@ +{% for extension in include.contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition') %} + + + {% if extension.extension.where(url = 'name').exists() and extension.extension.where(url = 'libraryName') %} + {% assign logicDefUrl = extension.extension.where(url = 'libraryName').value.lower().replace(' ', '-') + '-' + extension.extension.where(url = 'name').value.lower().replace(' ', '-') %} + + {% endif %} + Logic Definition + +{% for lNameExtension in extension.extension.where(url = 'libraryName') %} + Library Name: {{lNameExtension.value}} +{% endfor %} + + +{% for statementExtension in extension.extension.where(url = 'statement') %} + +
    {{statementExtension.value}}
    + +{% endfor %} + +{% endfor %} \ No newline at end of file diff --git a/templates/liquid/measure-identifier.html b/templates/liquid/measure-identifier.html new file mode 100644 index 0000000..8a59bd4 --- /dev/null +++ b/templates/liquid/measure-identifier.html @@ -0,0 +1,20 @@ +{% for identifier in include.measure.identifier.where(type.coding.where(code = 'short-name').exists()) %} + {%include default.html header='Short Name Identifier' content=identifier.value %} +{% endfor %} +{% for identifier in include.measure.identifier.where(type.coding.where(code = 'version-independent').exists()) %} + {%include default.html header='Version Independent Identifier' content=identifier.value %} +{% endfor %} +{% for identifier in include.measure.identifier.where(type.coding.where(code = 'version-specific').exists()) %} + {%include default.html header='Version Specific Identifier' content=identifier.value %} +{% endfor %} +{% for identifier in include.measure.identifier.where(type.coding.where(code = 'publisher').exists()) %} + {% if identifier.assigner.display.exists() %} + {%assign pheader = 'Publisher (' + identifier.assigner.display.value + ') Identifier' %} + {%include default.html header=pheader content=identifier.value %} + {% else %} + {%include default.html header='Publisher Identifier' content=identifier.value %} + {% endif %} +{% endfor %} +{% for identifier in include.measure.identifier.where(type.coding.where(code != 'short-name' and code != 'version-independent' and code != 'version-specific' and code != 'publisher').exists()) %} + {%include default.html header='Identifier' content=identifier %} +{% endfor %} \ No newline at end of file diff --git a/templates/liquid/measure-logic.html b/templates/liquid/measure-logic.html new file mode 100644 index 0000000..9534c4c --- /dev/null +++ b/templates/liquid/measure-logic.html @@ -0,0 +1,24 @@ +{% if include.measure.library.exists() %} +{%include section-header.html header='Measure Logic' %} +{%include default.html header='Primary Library' content=include.measure.library %} +{% endif %} + +{% if include.measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements').exists() %} + {% for contained in include.measure.contained.where(id = 'effective-data-requirements') %} + {%include related-artifact.html relatedArtifact=contained.relatedArtifact %} + {%include direct-reference-code.html contained=contained %} + {% for parameter in contained.parameter %} + {%include parameter.html header='Parameter' parameter=parameter %} + {% endfor %} + {% if contained.dataRequirement.exists() %} + + Measure Logic Data Requirements + + {% endif %} + {%include datarequirement.html header='Data Requirement' dataRequirement=contained.dataRequirement %} + {% if contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition').exists() %} + {%include section-header.html header='Measure Logic Definitions' %} + {% endif %} + {%include logic-definition.html header='Data Requirement' contained=contained %} + {% endfor %} +{% endif %} \ No newline at end of file diff --git a/templates/liquid/measure-metadata-extensions.html b/templates/liquid/measure-metadata-extensions.html new file mode 100644 index 0000000..4380fc4 --- /dev/null +++ b/templates/liquid/measure-metadata-extensions.html @@ -0,0 +1,11 @@ +{% for supplementalDataGuidance in include.measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-supplementalDataGuidance') %} + {% if supplementalDataGuidance.extension.where(url = 'guidance').exists() %} + {%include default.html header='Supplemental Data Guidance' content=supplementalDataGuidance.extension.where(url = 'guidance').value %} + {% endif %} +{% endfor %} +{% for populationBasis in include.measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis') %} + {%include default.html header='Population Basis' content=populationBasis.value %} +{% endfor %} +{% for scoringUnit in include.measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringUnit') %} + {%include default.html header='Scoring Unit' content=scoringUnit.value %} +{% endfor %} \ No newline at end of file diff --git a/templates/liquid/measure-metadata.html b/templates/liquid/measure-metadata.html new file mode 100644 index 0000000..2e432f9 --- /dev/null +++ b/templates/liquid/measure-metadata.html @@ -0,0 +1,19 @@ +{% if include.measure.identifier.exists() or include.measure.version.exists() or include.measure.scoring.exists() or +include.measure.compositeScoring.exists() or include.measure.type.exists() or include.measure.riskAdjustment.exists() or +include.measure.rateAggregation.exists() or include.measure.rationale.exists() or include.measure.clinicalRecommendationStatement.exists() or +include.measure.improvementNotation.exists() or include.measure.definition.exists() or include.measure.guidance.exists() %} +{%include section-header.html header='Measure Metadata' %} +{%include measure-identifier.html measure=include.measure %} +{%include default.html header='Version Number' content=include.measure.version %} +{%include default.html header='Measure Scoring' content=include.measure.scoring %} +{%include default.html header='Measure Composite Scoring' content=include.measure.compositeScoring %} +{%include default-list.html header='Measure Type' content=include.measure.type %} +{%include default.html header='Risk Adjustment' content=include.measure.riskAdjustment %} +{%include default.html header='Rate Aggregation' content=include.measure.rateAggregation %} +{%include default.html header='Rationale' content=include.measure.rationale %} +{%include default.html header='Clinical Recommendation Statement' content=include.measure.clinicalRecommendationStatement %} +{%include default.html header='Improvement Notation' content=include.measure.improvementNotation %} +{%include default.html header='Definition' content=include.measure.definition %} +{%include default.html header='Guidance' content=include.measure.guidance %} +{%include measure-metadata-extensions.html measure=include.measure %} +{% endif %} \ No newline at end of file diff --git a/templates/liquid/measure-population-criteria-extensions.html b/templates/liquid/measure-population-criteria-extensions.html new file mode 100644 index 0000000..a1ae1ad --- /dev/null +++ b/templates/liquid/measure-population-criteria-extensions.html @@ -0,0 +1,30 @@ +{% for populationBasis in include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-populationBasis') %} + {%include default.html header='Population Basis' content=populationBasis.value %} +{% endfor %} +{% for scoring in include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoring') %} + {%include default.html header='Scoring' content=scoring.value %} +{% endfor %} +{% for scoringUnit in include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringUnit') %} + {%include default.html header='Scoring Unit' content=scoringUnit.value %} +{% endfor %} +{% for scoringPrecision in include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-scoringPrecision') %} + {%include default.html header='Scoring Precision' content=scoringPrecision.value %} +{% endfor %} +{% for compositeScoring in include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-compositeScoring') %} + {%include default.html header='Composite Scoring' content=compositeScoring.value %} +{% endfor %} +{% if include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-component').exists() %} + {%include related-artifact.html relatedArtifact=include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-component').value %} +{% endif %} +{% if include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type').exists() %} + {%include default-list.html header='Type' content=include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-type').value %} +{% endif %} +{% for riskAdjustment in include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-riskAdjustment') %} + {%include default.html header='Risk Adjustment' content=riskAdjustment.value %} +{% endfor %} +{% for rateAggregation in include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-rateAggregation') %} + {%include default.html header='Rate Aggregation' content=rateAggregation.value %} +{% endfor %} +{% for improvementNotation in include.group.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-improvementNotation') %} + {%include default.html header='Improvement Notation' content=improvementNotation.value %} +{% endfor %} \ No newline at end of file diff --git a/templates/liquid/measure-population-criteria-population.html b/templates/liquid/measure-population-criteria-population.html new file mode 100644 index 0000000..1425644 --- /dev/null +++ b/templates/liquid/measure-population-criteria-population.html @@ -0,0 +1,59 @@ +{% for population in include.group.population %} + {% if population.code.exists() and population.code.coding.exists() %} + + {% if population.code.coding.first().display.exists() %} + {%include row-header.html header=population.code.coding.first().display %} + {% else %} + {% if population.code.coding.where(code = 'initial-population') or population.code.coding.where(code = 'numerator') or population.code.coding.where(code = 'numerator-exclusion') or population.code.coding.where(code = 'denominator') or population.code.coding.where(code = 'denominator-exclusion') or population.code.coding.where(code = 'denominator-exception') or population.code.coding.where(code = 'measure-population') or population.code.coding.where(code = 'measure-population-exclusion') or population.code.coding.where(code = 'measure-observation') %} + {% if population.code.coding.where(code = 'initial-population') %} + {%include row-header.html header='Initial Population' %} + {% endif %} + {% if population.code.coding.where(code = 'numerator') %} + {%include row-header.html header='Numerator' %} + {% endif %} + {% if population.code.coding.where(code = 'numerator-exclusion') %} + {%include row-header.html header='Numerator Exclusion' %} + {% endif %} + {% if population.code.coding.where(code = 'denominator') %} + {%include row-header.html header='Denominator' %} + {% endif %} + {% if population.code.coding.where(code = 'denominator-exclusion') %} + {%include row-header.html header='Denominator Exclusion' %} + {% endif %} + {% if population.code.coding.where(code = 'denominator-exception') %} + {%include row-header.html header='Denominator Exception' %} + {% endif %} + {% if population.code.coding.where(code = 'measure-population') %} + {%include row-header.html header='Measure Population' %} + {% endif %} + {% if population.code.coding.where(code = 'measure-population-exclusion') %} + {%include row-header.html header='Measure Population Exclusion' %} + {% endif %} + {% if population.code.coding.where(code = 'measure-observation') %} + {%include row-header.html header='Measure Observation' %} + {% endif %} + {% else %} + {%include row-header.html header='Unknown Population Type' %} + {% endif %} + {% endif %} + + {% if population.id.exists() %} + ID: {{population.id}} +
    + {% endif %} + {% if population.description.exists() %} + Description: +

    {{population.description}}

    + {% else %} + Description: No description provided + {% endif %} + {% if population.criteria.exists() %} + {% if population.criteria.language.startsWith('text/cql') and population.criteria.expression.exists() and include.library.exists() %} + {% assign logicDefAnchor = '#' + include.library.first().replaceMatches('.*/Library/', '').lower().replace(' ', '-') + '-' + population.criteria.expression.lower().replace(' ', '-') %} + Logic Definition: {{population.criteria.expression}} + {% endif %} + {% endif %} + + + {% endif %} +{% endfor %} \ No newline at end of file diff --git a/templates/liquid/measure-population-criteria-stratifier.html b/templates/liquid/measure-population-criteria-stratifier.html new file mode 100644 index 0000000..93140cc --- /dev/null +++ b/templates/liquid/measure-population-criteria-stratifier.html @@ -0,0 +1,26 @@ +{% for stratifier in include.group.stratifier %} + + {%include row-header.html header='Stratifier' %} + + {% if stratifier.id.exists() %} + ID: {{stratifier.id}} + {% if stratifier.code.exists() or stratifier.description.exists() %} +
    + {% endif %} + {% endif %} + {% if stratifier.code.exists() %} + {% if stratifier.code.coding.first().display.exists() %} + Code: {{stratifier.code.coding.first().display}} + {% else %} + Code: {{stratifier.code}} + {% endif %} + {% if stratifier.description.exists() %} +
    + {% endif %} + {% endif %} + {% if stratifier.description.exists() %} + Description: {{stratifier.description}} + {% endif %} + + +{% endfor %} \ No newline at end of file diff --git a/templates/liquid/measure-population-criteria.html b/templates/liquid/measure-population-criteria.html new file mode 100644 index 0000000..7d103a3 --- /dev/null +++ b/templates/liquid/measure-population-criteria.html @@ -0,0 +1,14 @@ +{% for group in include.measure.group %} + {% if group.id.exists() %} + {%assign groupid = 'Measure Population Criteria' + ' (ID: ' + group.id + ')' %} + {%include section-header.html header=groupid %} + {% else %} + {%include section-header.html header='Measure Population Criteria' %} + {% endif %} + {% if group.description.exists() %} + {%include default.html header='Summary' content=group.description %} + {% endif %} + {%include measure-population-criteria-population.html group=group library=include.measure.library %} + {%include measure-population-criteria-stratifier.html group=group %} + {%include measure-population-criteria-extensions.html group=group %} +{% endfor %} \ No newline at end of file diff --git a/templates/liquid/measure-supplementaldata.html b/templates/liquid/measure-supplementaldata.html new file mode 100644 index 0000000..acf7485 --- /dev/null +++ b/templates/liquid/measure-supplementaldata.html @@ -0,0 +1,38 @@ +{% if include.measure.supplementalData.exists() %} + {%include section-header.html header='Supplemental Data Elements' %} +{% endif %} +{% for sde in include.measure.supplementalData %} + + {%include row-header.html header='Supplemental Data Element' %} + + {% if sde.id.exists() %} + ID: {{sde.id}} + {% if sde.usage.exists() or sde.description.exists() %} +
    + {% endif %} + {% endif %} + {% if sde.usage.exists() %} + {% for usage in sde.usage %} + {% if usage.coding.first().display.exists() %} + Usage Code: {{usage.coding.first().display}} + {% else %} + Usage Code: {{usage}} + {% endif %} +
    + {% endfor %} + {% endif %} + {% if sde.description.exists() %} + Description: {{sde.description}} + {% else %} + Description: No description provided + {% endif %} + {% if sde.criteria.exists() %} + {% if sde.criteria.language.startsWith('text/cql') and sde.criteria.expression.exists() and include.measure.library.exists() %} +
    + {% assign logicDefAnchor = '#' + include.measure.library.first().replaceMatches('.*/Library/', '').lower().replace(' ', '-') + '-' + sde.criteria.expression.lower().replace(' ', '-') %} + Logic Definition: {{sde.criteria.expression}} + {% endif %} + {% endif %} + + +{% endfor %} \ No newline at end of file diff --git a/templates/liquid/narrative-end.html b/templates/liquid/narrative-end.html new file mode 100644 index 0000000..173b6e0 --- /dev/null +++ b/templates/liquid/narrative-end.html @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/templates/liquid/narrative-start.html b/templates/liquid/narrative-start.html new file mode 100644 index 0000000..851e858 --- /dev/null +++ b/templates/liquid/narrative-start.html @@ -0,0 +1,3 @@ +
    + + \ No newline at end of file diff --git a/templates/liquid/parameter.html b/templates/liquid/parameter.html new file mode 100644 index 0000000..16b5d23 --- /dev/null +++ b/templates/liquid/parameter.html @@ -0,0 +1,14 @@ + + {%include row-header.html header=include.header %} + + \ No newline at end of file diff --git a/templates/liquid/period.html b/templates/liquid/period.html new file mode 100644 index 0000000..6fec4e5 --- /dev/null +++ b/templates/liquid/period.html @@ -0,0 +1,4 @@ +{% if include.period.exists() %} +{%assign period = include.period.start.toString() + '..' + include.period.end.toString() %} +{%include default.html header=include.header content=period %} +{% endif %} \ No newline at end of file diff --git a/templates/liquid/related-artifact.html b/templates/liquid/related-artifact.html new file mode 100644 index 0000000..38ad6d0 --- /dev/null +++ b/templates/liquid/related-artifact.html @@ -0,0 +1,47 @@ +{% if include.relatedArtifact.exists() %} +{% for relatedArtifact in include.relatedArtifact %} + + {% if relatedArtifact.where(type = 'documentation').exists() %} + {%include row-header.html header='Documentation' %} + {% endif %} + {% if relatedArtifact.where(type = 'justification').exists() %} + {%include row-header.html header='Justification' %} + {% endif %} + {% if relatedArtifact.where(type = 'citation').exists() %} + {%include row-header.html header='Citation' %} + {% endif %} + {% if relatedArtifact.where(type = 'depends-on').exists() %} + {%include row-header.html header='Dependency' %} + {% endif %} + + +{% endfor %} +{% endif %} \ No newline at end of file diff --git a/templates/liquid/row-content.html b/templates/liquid/row-content.html new file mode 100644 index 0000000..d12db8a --- /dev/null +++ b/templates/liquid/row-content.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/liquid/row-end.html b/templates/liquid/row-end.html new file mode 100644 index 0000000..943be33 --- /dev/null +++ b/templates/liquid/row-end.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/liquid/row-header.html b/templates/liquid/row-header.html new file mode 100644 index 0000000..971154f --- /dev/null +++ b/templates/liquid/row-header.html @@ -0,0 +1,5 @@ +{% if include.colspan.exists() %} + +{% else %} + +{% endif %} \ No newline at end of file diff --git a/templates/liquid/row-new.html b/templates/liquid/row-new.html new file mode 100644 index 0000000..00f5535 --- /dev/null +++ b/templates/liquid/row-new.html @@ -0,0 +1,4 @@ +{%include row-start.html %} +{%include row-header.html header=include.header %} +{%include row-content.html content=include.content %} +{%include row-end.html %} \ No newline at end of file diff --git a/templates/liquid/row-start.html b/templates/liquid/row-start.html new file mode 100644 index 0000000..6e37a63 --- /dev/null +++ b/templates/liquid/row-start.html @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/templates/liquid/section-header.html b/templates/liquid/section-header.html new file mode 100644 index 0000000..fcb2b7e --- /dev/null +++ b/templates/liquid/section-header.html @@ -0,0 +1,3 @@ +{%include row-start.html %} +{%include row-header.html colspan='2' header=include.header %} +{%include row-end.html %} \ No newline at end of file diff --git a/templates/liquid/type-primitive.html b/templates/liquid/type-primitive.html new file mode 100644 index 0000000..e69de29 diff --git a/templates/liquid/version.html b/templates/liquid/version.html new file mode 100644 index 0000000..97e08ee --- /dev/null +++ b/templates/liquid/version.html @@ -0,0 +1,3 @@ + + + \ No newline at end of file From a6778811ae943880a5145d8a7825f25460917f6a Mon Sep 17 00:00:00 2001 From: c-schuler Date: Wed, 18 Sep 2024 09:15:52 -0600 Subject: [PATCH 2/3] Add link for CI build in Readme ... Bump build --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8e114b7..f309f65 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # sample-content-ig A sample, template-driven content implementation guide that provides an illustration of a content IG, with examples of using CQL with FHIR libraries and vocabulary. A content IG is one that includes computable representations of clinical knowledge artifacts as FHIR Resources, specifically Library, ActivityDefinition, PlanDefinition, and Measure resources. +CI Build for master branch: [https://build.fhir.org/ig/cqframework/sample-content-ig/branches/master/](https://build.fhir.org/ig/cqframework/sample-content-ig/branches/master/) + ## Building the IG In addition to the [FHIR Publisher](https://confluence.hl7.org/display/FHIR/IG+Publisher+Documentation), this From f895bc1928835da6bb07c82430074944e117e770 Mon Sep 17 00:00:00 2001 From: c-schuler Date: Wed, 18 Sep 2024 17:03:47 -0600 Subject: [PATCH 3/3] Updated extensions for R5 changes --- templates/liquid/direct-reference-code.html | 2 +- .../liquid/knowledge-artifact-metadata-extensions.html | 3 +++ templates/liquid/logic-definition.html | 2 +- templates/liquid/measure-logic.html | 6 +++--- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/templates/liquid/direct-reference-code.html b/templates/liquid/direct-reference-code.html index ef2d949..4c6a000 100644 --- a/templates/liquid/direct-reference-code.html +++ b/templates/liquid/direct-reference-code.html @@ -1,4 +1,4 @@ -{% for directReferenceCode in include.contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode') %} +{% for directReferenceCode in include.contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-directReferenceCode' or url = 'http://hl7.org/fhir/StructureDefinition/cqf-directReferenceCode') %} {% endif %} {%include datarequirement.html header='Data Requirement' dataRequirement=contained.dataRequirement %} - {% if contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition').exists() %} + {% if contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition' or url = 'http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition').exists() %} {%include section-header.html header='Measure Logic Definitions' %} {% endif %} {%include logic-definition.html header='Data Requirement' contained=contained %}
    + Name: {{include.parameter.name}} +
    + Use: {{include.parameter.use}} +
    + Min Cardinality: {{include.parameter.min}} +
    + Max Cardinality: {{include.parameter.max}} +
    + Type: {{include.parameter.type}} +
    + {% if relatedArtifact.display.exists() %} + Description: {{relatedArtifact.display}} + {% if relatedArtifact.citation.exists() or relatedArtifact.url.exists() or relatedArtifact.document.exists() or + relatedArtifact.resource.exists() %} +
    + {% endif %} + {% endif %} + {% if relatedArtifact.citation.exists() %} + Citation: {{relatedArtifact.citation}} + {% endif %} + {% if relatedArtifact.url.exists() %} + Content URL: {{relatedArtifact.url}} + {% if relatedArtifact.document.exists() or relatedArtifact.resource.exists() %} +
    + {% endif %} + {% endif %} + {% if relatedArtifact.document.exists() %} + Document: {{relatedArtifact.document}} + {% if relatedArtifact.citation.resource.exists() %} +
    + {% endif %} + {% endif %} + {% if relatedArtifact.resource.exists() %} + Resource: {{relatedArtifact.resource}} +
    + Canonical URL: {{relatedArtifact.resource.toString()}} + {% endif %} +
    {{include.content}}
    {{include.header}}{{include.header}}
    Generated using version 0.4.4 of the sample-content-ig Liquid templates
    Direct Reference Code diff --git a/templates/liquid/knowledge-artifact-metadata-extensions.html b/templates/liquid/knowledge-artifact-metadata-extensions.html index cbb6060..4bb783b 100644 --- a/templates/liquid/knowledge-artifact-metadata-extensions.html +++ b/templates/liquid/knowledge-artifact-metadata-extensions.html @@ -17,3 +17,6 @@ {% for cpgKnowledgeRepLevel in include.resource.extension.where(url = 'http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-knowledgeRepresentationLevel') %} {%include default.html header='Knowledge Representation Level' content=cpgKnowledgeRepLevel.value %} {% endfor %} +{% for cqfKnowledgeRepLevel in include.resource.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/cqf-knowledgeRepresentationLevel') %} + {%include default.html header='Knowledge Representation Level' content=cqfKnowledgeRepLevel.value %} +{% endfor %} diff --git a/templates/liquid/logic-definition.html b/templates/liquid/logic-definition.html index c6fa4e6..ded13d8 100644 --- a/templates/liquid/logic-definition.html +++ b/templates/liquid/logic-definition.html @@ -1,4 +1,4 @@ -{% for extension in include.contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition') %} +{% for extension in include.contained.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-logicDefinition' or url = 'http://hl7.org/fhir/StructureDefinition/cqf-logicDefinition') %}
    {% if extension.extension.where(url = 'name').exists() and extension.extension.where(url = 'libraryName') %} diff --git a/templates/liquid/measure-logic.html b/templates/liquid/measure-logic.html index 9534c4c..0802e1b 100644 --- a/templates/liquid/measure-logic.html +++ b/templates/liquid/measure-logic.html @@ -3,8 +3,8 @@ {%include default.html header='Primary Library' content=include.measure.library %} {% endif %} -{% if include.measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements').exists() %} - {% for contained in include.measure.contained.where(id = 'effective-data-requirements') %} +{% if include.measure.extension.where(url = 'http://hl7.org/fhir/us/cqfmeasures/StructureDefinition/cqfm-effectiveDataRequirements' or url = 'http://hl7.org/fhir/uv/crmi/StructureDefinition/crmi-effectiveDataRequirements').exists() %} + {% for contained in include.measure.contained.where(id.contains('effective-data-requirements')) %} {%include related-artifact.html relatedArtifact=contained.relatedArtifact %} {%include direct-reference-code.html contained=contained %} {% for parameter in contained.parameter %} @@ -16,7 +16,7 @@