diff --git a/add-add'l-reference-subject.ipynb b/add-add'l-reference-subject.ipynb new file mode 100644 index 00000000..8c29b36c --- /dev/null +++ b/add-add'l-reference-subject.ipynb @@ -0,0 +1,676 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# add addl optional references to subject in SD\n", + "\n", + "1. get list of SD that have subject element\n", + "2. read SD from resources-yaml folder\n", + "\n", + " 1. add ms extension to Patient reference of subject element\n", + " 2. find other reference types from base\n", + " 3. add to Subject element in profile\n", + " 4. save as yaml (sort keys)" + ] + }, + { + "cell_type": "code", + "execution_count": 49, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "('2023-11-03',\n", + " PosixPath('/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml'),\n", + " PosixPath('/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml-copy'))" + ] + }, + "execution_count": 49, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "from yaml import load as yload, dump as ydump, Loader\n", + "from json import loads, dumps\n", + "from pathlib import Path\n", + "from copy import deepcopy\n", + "from datetime import datetime\n", + "from fhir.resources.structuredefinition import StructureDefinition\n", + "from pprint import pprint\n", + "\n", + "# my_path = r'/Users/ehaas/Documents/FHIR/USCDI4-Sandbox/input'\n", + "my_path = r'/Users/ehaas/Documents/FHIR/US-Core/input'\n", + "in_path = Path(my_path) / 'resources-yaml'\n", + "out_path = Path(my_path) / 'resources-yaml-copy'\n", + "out_path.mkdir(parents=True, exist_ok=True)\n", + "#create out_path using pathlib Path.mkdir(parents=True, exist_ok=True)\n", + "\n", + "R4_path = Path(r'/Users/ehaas/.fhir/packages/hl7.fhir.r4.core#4.0.1/package')\n", + "\n", + "Types = ['CarePlan',\n", + "'CareTeam',\n", + "'Condition',\n", + "'DiagnosticReport',\n", + "'DocumentReference',\n", + "'Encounter',\n", + "'Goal',\n", + "'MedicationDispense',\n", + "'MedicationRequest',\n", + "'Observation',\n", + "'Observation',\n", + "'Procedure',\n", + "'QuestionnaireResponse',\n", + "'ServiceRequest',\n", + "'Specimen',\n", + "]\n", + "\n", + "_targetProfile = [\n", + " {\n", + " \"extension\": [\n", + " {\n", + " \"url\": \"http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support\",\n", + " \"valueBoolean\": True\n", + " }\n", + " ]\n", + " },\n", + " ]\n", + "\n", + "today = datetime.today().strftime('%Y-%m-%d')\n", + "today, in_path, out_path" + ] + }, + { + "cell_type": "code", + "execution_count": 50, + "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-sex.yml***********\n", + "☞ ☞ ☞ Type = Extension\n", + "❗❗❗Type Extension not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-specimen.yml***********\n", + "☞ ☞ ☞ Type = Specimen\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Substance', 'http://hl7.org/fhir/StructureDefinition/Location']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Specimen.subject', 'path': 'Specimen.subject', \"\n", + " \"'short': 'The patient where the specimen came from.', 'type': [{'code': \"\n", + " \"'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Device', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Substance', \"\n", + " \"'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'], \"\n", + " \"'_targetProfile': [{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-pregnancystatus.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Location']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Observation.subject', 'path': 'Observation.subject', \"\n", + " \"'min': 1, 'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Device', \"\n", + " \"'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'], \"\n", + " \"'_targetProfile': [{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-occupation.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Location']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Observation.subject', 'path': 'Observation.subject', \"\n", + " \"'min': 1, 'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Device', \"\n", + " \"'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'], \"\n", + " \"'_targetProfile': [{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-sexual-orientation.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Location']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Observation.subject', 'path': 'Observation.subject', \"\n", + " \"'min': 1, 'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Device', \"\n", + " \"'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'], \"\n", + " \"'_targetProfile': [{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True, 'mapping': [{'identity': \"\n", + " \"'argonaut-dq-dstu2', 'map': 'Observation.subject'}]}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-birthsex.yml***********\n", + "☞ ☞ ☞ Type = Extension\n", + "❗❗❗Type Extension not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-care-experience-preference.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Location']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Observation.subject', 'path': 'Observation.subject', \"\n", + " \"'min': 1, 'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Device', \"\n", + " \"'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'], \"\n", + " \"'_targetProfile': [{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-careplan.yml***********\n", + "☞ ☞ ☞ Type = CarePlan\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'CarePlan.subject', 'path': 'CarePlan.subject', \"\n", + " \"'definition': 'Who care plan is for.', 'requirements': 'Identifies the \"\n", + " \"patient or group whose intended care is described by the plan.', 'type': \"\n", + " \"[{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group'], '_targetProfile': \"\n", + " \"[{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True, 'mapping': [{'identity': \"\n", + " \"'argonaut-dq-dstu2', 'map': 'CarePlan.subject'}]}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-diagnosticreport-note.yml***********\n", + "☞ ☞ ☞ Type = DiagnosticReport\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Location']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'DiagnosticReport.subject', 'path': \"\n", + " \"'DiagnosticReport.subject', 'min': 1, 'type': [{'code': 'Reference', \"\n", + " \"'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Device', \"\n", + " \"'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'], \"\n", + " \"'_targetProfile': [{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-provenance.yml***********\n", + "☞ ☞ ☞ Type = Provenance\n", + "❗❗❗Type Provenance not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-blood-pressure.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "❗❗❗No subject element\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-condition-encounter-diagnosis.yml***********\n", + "☞ ☞ ☞ Type = Condition\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Condition.subject', 'path': 'Condition.subject', \"\n", + " \"'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group'], '_targetProfile': \"\n", + " \"[{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True, 'mapping': [{'identity': \"\n", + " \"'argonaut-dq-dstu2', 'map': 'Condition.patient'}]}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-heart-rate.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "❗❗❗No subject element\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-medication.yml***********\n", + "☞ ☞ ☞ Type = Medication\n", + "❗❗❗Type Medication not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-coverage.yml***********\n", + "☞ ☞ ☞ Type = Coverage\n", + "❗❗❗Type Coverage not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-pediatric-weight-for-height.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "❗❗❗No subject element\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-questionnaireresponse.yml***********\n", + "☞ ☞ ☞ Type = QuestionnaireResponse\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Resource']\n", + "(\"☞ ☞ ☞ subject = {'id': 'QuestionnaireResponse.subject', 'path': \"\n", + " \"'QuestionnaireResponse.subject', 'comment': '-', 'min': 1, 'type': [{'code': \"\n", + " \"'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Resource'], '_targetProfile': \"\n", + " \"[{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-treatment-intervention-preference.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Location']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Observation.subject', 'path': 'Observation.subject', \"\n", + " \"'min': 1, 'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Device', \"\n", + " \"'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'], \"\n", + " \"'_targetProfile': [{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-implantable-device.yml***********\n", + "☞ ☞ ☞ Type = Device\n", + "❗❗❗Type Device not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-head-occipital-frontal-circumference-percentile.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "❗❗❗No subject element\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-direct.yml***********\n", + "☞ ☞ ☞ Type = Extension\n", + "❗❗❗Type Extension not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-location.yml***********\n", + "☞ ☞ ☞ Type = Location\n", + "❗❗❗Type Location not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-head-circumference.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "❗❗❗No subject element\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-pulse-oximetry.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "❗❗❗No subject element\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-servicerequest.yml***********\n", + "☞ ☞ ☞ Type = ServiceRequest\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Location', 'http://hl7.org/fhir/StructureDefinition/Device']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'ServiceRequest.subject', 'path': \"\n", + " \"'ServiceRequest.subject', 'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Device'], '_targetProfile': \"\n", + " \"[{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-medication-adherence.yml***********\n", + "☞ ☞ ☞ Type = Extension\n", + "❗❗❗Type Extension not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-bmi.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "❗❗❗No subject element\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-immunization.yml***********\n", + "☞ ☞ ☞ Type = Immunization\n", + "❗❗❗Type Immunization not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-practitionerrole.yml***********\n", + "☞ ☞ ☞ Type = PractitionerRole\n", + "❗❗❗Type PractitionerRole not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-patient.yml***********\n", + "☞ ☞ ☞ Type = Patient\n", + "❗❗❗Type Patient not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-tribal-affiliation.yml***********\n", + "☞ ☞ ☞ Type = Extension\n", + "❗❗❗Type Extension not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-race.yml***********\n", + "☞ ☞ ☞ Type = Extension\n", + "❗❗❗Type Extension not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-allergyintolerance.yml***********\n", + "☞ ☞ ☞ Type = AllergyIntolerance\n", + "❗❗❗Type AllergyIntolerance not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-organization.yml***********\n", + "☞ ☞ ☞ Type = Organization\n", + "❗❗❗Type Organization not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-uscdi-requirements.yml***********\n", + "☞ ☞ ☞ Type = Extension\n", + "❗❗❗Type Extension not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-medicationrequest.yml***********\n", + "☞ ☞ ☞ Type = MedicationRequest\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'MedicationRequest.subject', 'path': \"\n", + " \"'MedicationRequest.subject', 'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group'], '_targetProfile': \"\n", + " \"[{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True, 'mapping': [{'identity': \"\n", + " \"'argonaut-dq-dstu2', 'map': 'MedicationOrder.patient'}]}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-ethnicity.yml***********\n", + "☞ ☞ ☞ Type = Extension\n", + "❗❗❗Type Extension not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-average-blood-pressure.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "❗❗❗No subject element\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-vital-signs.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Location']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Observation.subject', 'path': 'Observation.subject', \"\n", + " \"'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Device', \"\n", + " \"'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'], \"\n", + " \"'_targetProfile': [{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-simple-observation.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Location']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Observation.subject', 'path': 'Observation.subject', \"\n", + " \"'min': 1, 'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Device', \"\n", + " \"'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'], \"\n", + " \"'_targetProfile': [{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-lab.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "❗❗❗No subject element\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-medicationdispense.yml***********\n", + "☞ ☞ ☞ Type = MedicationDispense\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'MedicationDispense.subject', 'path': \"\n", + " \"'MedicationDispense.subject', 'min': 1, 'type': [{'code': 'Reference', \"\n", + " \"'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group'], '_targetProfile': \"\n", + " \"[{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-careteam.yml***********\n", + "☞ ☞ ☞ Type = CareTeam\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'CareTeam.subject', 'path': 'CareTeam.subject', \"\n", + " \"'min': 1, 'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group'], '_targetProfile': \"\n", + " \"[{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True, 'mapping': [{'identity': \"\n", + " \"'argonaut-dq-dstu2', 'map': 'CarePlan.subject'}]}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-genderidentity.yml***********\n", + "☞ ☞ ☞ Type = Extension\n", + "❗❗❗Type Extension not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-procedure.yml***********\n", + "☞ ☞ ☞ Type = Procedure\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Procedure.subject', 'path': 'Procedure.subject', \"\n", + " \"'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group'], '_targetProfile': \"\n", + " \"[{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True, 'mapping': [{'identity': \"\n", + " \"'argonaut-dq-dstu2', 'map': 'Procedure.subject'}]}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-documentreference.yml***********\n", + "☞ ☞ ☞ Type = DocumentReference\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Device']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'DocumentReference.subject', 'path': \"\n", + " \"'DocumentReference.subject', 'min': 1, 'type': [{'code': 'Reference', \"\n", + " \"'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Practitioner', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Device'], '_targetProfile': \"\n", + " \"[{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-jurisdiction.yml***********\n", + "☞ ☞ ☞ Type = Extension\n", + "❗❗❗Type Extension not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-clinical-result.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Location']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Observation.subject', 'path': 'Observation.subject', \"\n", + " \"'min': 1, 'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Device', \"\n", + " \"'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'], \"\n", + " \"'_targetProfile': [{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-body-height.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "❗❗❗No subject element\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-encounter.yml***********\n", + "☞ ☞ ☞ Type = Encounter\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Encounter.subject', 'path': 'Encounter.subject', \"\n", + " \"'min': 1, 'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group'], '_targetProfile': \"\n", + " \"[{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-body-temperature.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "❗❗❗No subject element\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-smokingstatus.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Location']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Observation.subject', 'path': 'Observation.subject', \"\n", + " \"'min': 1, 'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Device', \"\n", + " \"'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'], \"\n", + " \"'_targetProfile': [{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True, 'mapping': [{'identity': \"\n", + " \"'argonaut-dq-dstu2', 'map': 'Observation.subject'}]}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-body-weight.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "❗❗❗No subject element\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-respiratory-rate.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "❗❗❗No subject element\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-diagnosticreport-lab.yml***********\n", + "☞ ☞ ☞ Type = DiagnosticReport\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Location']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'DiagnosticReport.subject', 'path': \"\n", + " \"'DiagnosticReport.subject', 'min': 1, 'type': [{'code': 'Reference', \"\n", + " \"'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Device', \"\n", + " \"'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'], \"\n", + " \"'_targetProfile': [{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-extension-questionnaire-uri.yml***********\n", + "☞ ☞ ☞ Type = Extension\n", + "❗❗❗Type Extension not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-pregnancyintent.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Location']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Observation.subject', 'path': 'Observation.subject', \"\n", + " \"'min': 1, 'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Device', \"\n", + " \"'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'], \"\n", + " \"'_targetProfile': [{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-relatedperson.yml***********\n", + "☞ ☞ ☞ Type = RelatedPerson\n", + "❗❗❗Type RelatedPerson not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-condition-problems-health-concerns.yml***********\n", + "☞ ☞ ☞ Type = Condition\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Condition.subject', 'path': 'Condition.subject', \"\n", + " \"'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group'], '_targetProfile': \"\n", + " \"[{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True, 'mapping': [{'identity': \"\n", + " \"'argonaut-dq-dstu2', 'map': 'Condition.patient'}]}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-goal.yml***********\n", + "☞ ☞ ☞ Type = Goal\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Organization']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Goal.subject', 'path': 'Goal.subject', 'type': \"\n", + " \"[{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Organization'], '_targetProfile': \"\n", + " \"[{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True, 'mapping': [{'identity': \"\n", + " \"'argonaut-dq-dstu2', 'map': 'Goal.subject'}]}\")\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-practitioner.yml***********\n", + "☞ ☞ ☞ Type = Practitioner\n", + "❗❗❗Type Practitioner not in Types\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-pediatric-bmi-for-age.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "❗❗❗No subject element\n", + "***********/Users/ehaas/Documents/FHIR/US-Core/input/resources-yaml/StructureDefinition-us-core-observation-screening-assessment.yml***********\n", + "☞ ☞ ☞ Type = Observation\n", + "☞ ☞ ☞ subject ref types = ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']\n", + "☞ ☞ ☞ subject R4 types = ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Location']\n", + "❗❗❗target_Profile http://hl7.org/fhir/StructureDefinition/Patient is Patient\n", + "(\"☞ ☞ ☞ subject = {'id': 'Observation.subject', 'path': 'Observation.subject', \"\n", + " \"'min': 1, 'type': [{'code': 'Reference', 'targetProfile': \"\n", + " \"['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Group', \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/Device', \"\n", + " \"'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location'], \"\n", + " \"'_targetProfile': [{'extension': [{'url': \"\n", + " \"'http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support', \"\n", + " \"'valueBoolean': True}]}]}], 'mustSupport': True}\")\n" + ] + } + ], + "source": [ + "def get_targetProfile(r_type, element_path):\n", + " for sd_base in R4_path.glob(f'StructureDefinition*-{r_type}.json'):\n", + " try:\n", + " r_base = loads(sd_base.read_text())\n", + " except Exception as e:\n", + " print(\"Exception: {}\".format(type(e).__name__))\n", + " print(\"Exception message: {}\".format(e))\n", + " # print(f\"======{sd_base}, {r_base['type']}======\")\n", + " for element in r_base['differential']['element']:\n", + " if element['path'] == element_path:\n", + " return element[\"type\"][0][\"targetProfile\"]\n", + " \n", + " # print(f'❗❗❗element not found in base SD - look at the datatype in the path {element_path}')\n", + " # #use the penultimate element in element_path to find the datatype in the base SD\n", + " # parent_element_path = element_path.rsplit('.', 1)[0]\n", + " # #use the last two element in element_path to find the datatype element in the base SD\n", + " # datatype_element_path = element_path.split('.', )[-1]\n", + "\n", + " # print(f\"parent_element_path = {parent_element_path} datatype_element_path = {datatype_element_path}\")\n", + "\n", + " # #get the datatype\n", + " # for element in r_base['differential']['element']:\n", + " # if element['id'] == parent_element_path:\n", + " # for type in element['type']:\n", + " # print(f\"datatype = {type['code']}\")\n", + " # #get the datatype SD short and compare to the shorty\n", + " # path = f\"{type['code']}.{datatype_element_path}\"\n", + " # print(f\"type = {type['code']}, path = {path}\")\n", + " # return get_shorty(type['code'], (f\"{type['code']}.{datatype_element_path}\"),)\n", + "\n", + "target_list = []\n", + "# read StructureDefinitions from resources-yaml folder using pathlib\n", + "for sd in in_path.glob('Struct*.yml'):\n", + " print(f\"***********{sd}***********\")\n", + " r = yload(sd.read_text(), Loader=Loader)\n", + " r_copy = deepcopy(r)\n", + " print(f\"☞ ☞ ☞ Type = {r['type']}\")\n", + " if r['type'] not in Types:\n", + " print(f\"❗❗❗Type {r['type']} not in Types\")\n", + " continue\n", + " try:\n", + " subject = (element for element in r['differential']['element']\n", + " if element['path'].split('.')[-1] == 'subject').__next__()\n", + " print(f'☞ ☞ ☞ subject ref types = {subject[\"type\"][0][\"targetProfile\"]}')\n", + " R4_targetProfile = get_targetProfile(r_type=r['type'], element_path=subject['path'])\n", + " print(f'☞ ☞ ☞ subject R4 types = {R4_targetProfile}')\n", + " for target_Profile in R4_targetProfile:\n", + " if target_Profile == 'http://hl7.org/fhir/StructureDefinition/Patient':\n", + " print(f\"❗❗❗target_Profile {target_Profile} is Patient\")\n", + " continue\n", + " if target_Profile == 'http://hl7.org/fhir/StructureDefinition/Location':\n", + " subject[\"type\"][0][\"targetProfile\"].append('http://hl7.org/fhir/us/core/StructureDefinition/us-core-location')\n", + " continue\n", + " subject[\"type\"][0][\"targetProfile\"].append(target_Profile)\n", + " subject[\"type\"][0][\"_targetProfile\"] = _targetProfile \n", + " target_list = target_list + (R4_targetProfile)\n", + "\n", + " except StopIteration:\n", + " print(f\"❗❗❗No subject element\")\n", + " continue\n", + " pprint(f\"☞ ☞ ☞ subject = {subject}\")\n", + " # custom sort the keys in the elements using fhir.resources\n", + " r = StructureDefinition.parse_obj(r)\n", + " # print(r.json(indent=4))\n", + " # save the copy to out_path using Pathlib\n", + " copyfile = out_path / sd.name\n", + " copyfile.write_text(r.yaml(indent=2))" + ] + }, + { + "cell_type": "code", + "execution_count": 51, + "metadata": {}, + "outputs": [], + "source": [ + "%%bash -s \"$in_path\" \"$out_path\"\n", + "##### DO THIS ONLY when you want to overwrite resources-yaml folder with resources-yaml-copy ####\n", + "\n", + "cp $2/Struct*.yml $1" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "jupyter", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.10.2" + }, + "orig_nbformat": 4 + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/fsh-generated/includes/fsh-link-references.md b/fsh-generated/includes/fsh-link-references.md index 60c7c293..ee2d0b0e 100644 --- a/fsh-generated/includes/fsh-link-references.md +++ b/fsh-generated/includes/fsh-link-references.md @@ -1,56 +1,3 @@ -[AUDIT-C]: Questionnaire-AUDIT-C.html -[AUDIT-C]: QuestionnaireResponse-AUDIT-C.html -[alcohol-use-status]: Observation-alcohol-use-status.html -[alcoholic-drinks-per-day]: Observation-alcoholic-drinks-per-day.html -[AUDIT-C-item-example-68517-2]: Observation-AUDIT-C-item-example-68517-2.html -[AUDIT-C-item-example-68519-8]: Observation-AUDIT-C-item-example-68519-8.html -[AUDIT-C-item-example-68520-6]: Observation-AUDIT-C-item-example-68520-6.html -[AUDIT-C-item-example-75626-2]: Observation-AUDIT-C-item-example-75626-2.html -[AUDIT-C-panel-example-72109-2]: Observation-AUDIT-C-panel-example-72109-2.html [average-blood-pressure]: Observation-average-blood-pressure.html -[care-experience-preference]: Observation-care-experience-preference.html -[EVS-item-example-68516-4]: Observation-EVS-item-example-68516-4.html -[EVS-item-example-89555-7]: Observation-EVS-item-example-89555-7.html -[EVS-panel-example-89574-8]: Observation-EVS-panel-example-89574-8.html -[exercise-per-day]: Observation-exercise-per-day.html -[exercise-per-week]: Observation-exercise-per-week.html -[exercise-vital-sign]: Questionnaire-exercise-vital-sign.html -[exercise-vital-sign]: QuestionnaireResponse-exercise-vital-sign.html -[example-serum-hemolyzed]: Specimen-example-serum-hemolyzed.html -[hospital]: Location-hospital.html -[coded-oral-axid-with-compliance]: MedicationRequest-coded-oral-axid-with-compliance.html -[self-tylenol-with-compliance]: MedicationRequest-self-tylenol-with-compliance.html -[coded-oral-axid-with-compliance]: MedicationStatement-coded-oral-axid-with-compliance.html -[self-tylenol-with-compliance]: MedicationStatement-self-tylenol-with-compliance.html -[medication-adherence-oral-axid]: Observation-medication-adherence-oral-axid.html -[medication-adherence-oral-axid-boolean]: Observation-medication-adherence-oral-axid-boolean.html -[medication-adherence-self-tylenol]: Observation-medication-adherence-self-tylenol.html -[defib-implant]: Procedure-defib-implant.html -[serum-glucose]: Observation-serum-glucose.html -[substance-use-status]: Observation-substance-use-status.html -[TAPS-item-example-75889-6]: Observation-TAPS-item-example-75889-6.html -[TAPS-item-example-88037-7]: Observation-TAPS-item-example-88037-7.html -[TAPS-item-example-96842-0]: Observation-TAPS-item-example-96842-0.html -[TAPS-item-example-96843-8]: Observation-TAPS-item-example-96843-8.html -[TAPS-item-example-96844-6]: Observation-TAPS-item-example-96844-6.html -[TAPS-panel-example-96841-2]: Observation-TAPS-panel-example-96841-2.html -[TAPS]: Questionnaire-TAPS.html -[TAPS]: QuestionnaireResponse-TAPS.html -[intervention-preference]: Observation-intervention-preference.html [USCoreAverageBloodPressureProfile]: StructureDefinition-us-core-average-blood-pressure.html -[USCoreCareExperiencePreference]: ValueSet-uscore-care-experience-preference.html -[USCoreCareExperiencePreferenceProfile]: StructureDefinition-us-core-care-experience-preference.html -[USCoreCommonSDOHAssessments]: ValueSet-uscore-common-sdoh-assessments.html -[USCoreLaboratoryResultObservationProfile]: StructureDefinition-us-core-observation-lab.html -[USCoreLocation]: StructureDefinition-us-core-location.html -[USCoreMedicationAdherenceExtension]: StructureDefinition-us-core-medication-adherence.html -[USCoreMedicationstatementStatus]: ValueSet-uscore-medicationstatement-status.html -[USCoreMedicationRequestProfile]: StructureDefinition-us-core-medicationrequest.html -[USCoreMedicationStatement]: StructureDefinition-us-core-medicationstatement.html -[USCorePaCodesValueSet]: ValueSet-uscore-pa-codes.html -[USCorePatientProfile]: StructureDefinition-us-core-patient.html -[USCoreProcedureProfile]: StructureDefinition-us-core-procedure.html -[USCoreSpecimenProfile]: StructureDefinition-us-core-specimen.html -[USCoreTreatmentInterventionPreferenceCodeSystem]: CodeSystem-uscore-treatment-intervention-preference.html -[USCoreTreatmentInterventionPreferenceProfile]: StructureDefinition-us-core-treatment-intervention-preference.html -[USCoreTreatmentInterventionPreferencValueSet]: ValueSet-uscore-treatment-intervention-preference.html \ No newline at end of file +[USCorePatientProfile]: StructureDefinition-us-core-patient.html \ No newline at end of file diff --git a/fsh-generated/resources/ImplementationGuide-uscdi4-sandbox.json b/fsh-generated/resources/ImplementationGuide-uscdi4-sandbox.json index 2ce32885..3b5dfcee 100644 --- a/fsh-generated/resources/ImplementationGuide-uscdi4-sandbox.json +++ b/fsh-generated/resources/ImplementationGuide-uscdi4-sandbox.json @@ -59,78 +59,6 @@ ], "definition": { "resource": [ - { - "reference": { - "reference": "Questionnaire/AUDIT-C" - }, - "description": "Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] questionnaire example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources.", - "name": "Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] Questionnaire Example", - "exampleBoolean": true - }, - { - "reference": { - "reference": "QuestionnaireResponse/AUDIT-C" - }, - "description": "This is the [LHC Form](https://loinc.org/lhc-forms/) Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources.", - "name": "Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" - }, - { - "reference": { - "reference": "Observation/alcohol-use-status" - }, - "description": "This is an alcohol-use-status example for the *Simple Observation Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Simple Observations.", - "name": "Alcohol Use Status Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" - }, - { - "reference": { - "reference": "Observation/alcoholic-drinks-per-day" - }, - "description": "This is an Alcoholic Drinks Per Day example for the *Simple Observation Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Simple Observations.", - "name": "Alcoholic Drinks Per Day Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" - }, - { - "reference": { - "reference": "Observation/AUDIT-C-item-example-68517-2" - }, - "description": "This is a Audit-C Item Example 68517-2 (How many times in the past year have you have X or more drinks in a day?) for the *US Core Observation Screening Assessment Profile*", - "name": "Audit-C Item Example 68517-2", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - }, - { - "reference": { - "reference": "Observation/AUDIT-C-item-example-68519-8" - }, - "description": "This is a Audit-C Item Example 68519-8 (How many standard drinks containing alcohol do you have on a typical day?) for the *US Core Observation Screening Assessment Profile*", - "name": "Audit-C Item Example 68519-8", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - }, - { - "reference": { - "reference": "Observation/AUDIT-C-item-example-68520-6" - }, - "description": "This is a Audit-C Item Example 68520-6 (How often do you have 6 or more drinks on 1 occasion?) for the *US Core Observation Screening Assessment Profile*", - "name": "Audit-C Item Example 68520-6", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - }, - { - "reference": { - "reference": "Observation/AUDIT-C-item-example-75626-2" - }, - "description": "This is a Audit-C Item Example 75626-2 (Total score [AUDIT-C]) for the *US Core Observation Screening Assessment Profile*", - "name": "Audit-C Item Example 75626-2", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - }, - { - "reference": { - "reference": "Observation/AUDIT-C-panel-example-72109-2" - }, - "description": "This is a Audit-C Panel Example 72109-2 (Alcohol Use Disorder Identification Test - Consumption [AUDIT-C]) for the *US Core Observation Screening Assessment Profile*", - "name": "Audit-C Panel Example 72109-2", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - }, { "reference": { "reference": "Observation/average-blood-pressure" @@ -139,238 +67,6 @@ "name": "Average Blood Pressure Example", "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-average-blood-pressure" }, - { - "reference": { - "reference": "Observation/care-experience-preference" - }, - "description": "This is an care experience preference example for the *Care Experience Profile*. It is based on the *US Core Simple Observation Profile*.", - "name": "Care Experience Preference Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference" - }, - { - "reference": { - "reference": "Observation/EVS-item-example-68516-4" - }, - "description": "This is a Evs Item Example 68516-4 (On those days that you engage in moderate to strenuous exercise, how many minutes, on average, do you exercise?) for the *US Core Observation Screening Assessment Profile*", - "name": "Evs Item Example 68516-4", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - }, - { - "reference": { - "reference": "Observation/EVS-item-example-89555-7" - }, - "description": "This is a Evs Item Example 89555-7 (How many D per W did you engage in moderate to strenuous physical activity in the last 30D) for the *US Core Observation Screening Assessment Profile*", - "name": "Evs Item Example 89555-7", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - }, - { - "reference": { - "reference": "Observation/EVS-panel-example-89574-8" - }, - "description": "This is a Evs Panel Example 89574-8 (Exercise Vital Sign (EVS)) for the *US Core Observation Screening Assessment Profile*", - "name": "Evs Panel Example 89574-8", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - }, - { - "reference": { - "reference": "Observation/exercise-per-day" - }, - "description": "This is an minutes exercise per day example for the *Simple Observation Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Simple Observations.", - "name": "Exercise Per Day Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" - }, - { - "reference": { - "reference": "Observation/exercise-per-week" - }, - "description": "This is a days exercise per week example for the *Simple Observation Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Simple Observations.", - "name": "Exercise Per Week Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" - }, - { - "reference": { - "reference": "Questionnaire/exercise-vital-sign" - }, - "description": "This is the [LHC Form](https://loinc.org/lhc-forms/) Exercise Vital Sign (EVS) Questionnaire Example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources.", - "name": "Exercise Vital Sign Questionnaire Example", - "exampleBoolean": true - }, - { - "reference": { - "reference": "QuestionnaireResponse/exercise-vital-sign" - }, - "description": "This is the [LHC Form](https://loinc.org/lhc-forms/) Exercise Vital Sign (EVS) QuestionnaireResponse Example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources.", - "name": "Exercise Vital Sign QuestionnaireResponse Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" - }, - { - "reference": { - "reference": "Specimen/example-serum-hemolyzed" - }, - "description": "This is a serum specimen example for the *US Core Specimen Profile*. It demonstrates the use of the USCDI requirements for specimen condition and body source site.", - "name": "Hemolyzed Serum Specimen Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen" - }, - { - "reference": { - "reference": "Location/hospital" - }, - "description": "This is an example hospital location for the *US Core Location Profile*.", - "name": "Hospital Location", - "exampleBoolean": true - }, - { - "reference": { - "reference": "MedicationRequest/coded-oral-axid-with-compliance" - }, - "description": "This example demonstrates medication adherence for a prescribed medication example using an extension on the MedicationRequest. The extension value uses SNOMED CT.", - "name": "MedicationRequest Coded Oral Axid with Compliance Extension Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - }, - { - "reference": { - "reference": "MedicationRequest/self-tylenol-with-compliance" - }, - "description": "This example demonstrates medication adherence for a self-prescribed Tylenol example for the using an extension on the MedicationRequest. The extension value uses SNOMED CT.", - "name": "MedicationRequest Self Tylenol with Compliance Extension Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - }, - { - "reference": { - "reference": "MedicationStatement/coded-oral-axid-with-compliance" - }, - "description": "This example demonstrates medication adherence for a prescribed medication example using an R5 element extension on the MedicationStatement. The extension value uses MedicationStatement Adherence Codes.", - "name": "MedicationStatement Coded Oral Axid with Adherence Extension Example", - "exampleCanonical": "http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationstatement" - }, - { - "reference": { - "reference": "MedicationStatement/self-tylenol-with-compliance" - }, - "description": "This example demonstrates medication adherence for a self-prescribed Tylenol example for the using an extension on the MedicationRequest. The extension value uses MedicationStatement Adherence Codes.", - "name": "MedicationStatement Self Tylenol with Compliance Extension Example", - "exampleCanonical": "http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationstatement" - }, - { - "reference": { - "reference": "Observation/medication-adherence-oral-axid" - }, - "description": "This is a medication adherance for a prescribed medication example using Observation. Both the code and value use SNOMED CT and the MedicationRequest is reference using the basedOn element.", - "name": "Observation Medication Adherence Oral Axid (Prescribed) Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" - }, - { - "reference": { - "reference": "Observation/medication-adherence-oral-axid-boolean" - }, - "description": "This is a medication adherance for a prescribed medication example using Observation. The code uses LOINC with an Ordinal scale and value use boolean values and the MedicationRequest is reference using the basedOn element.", - "name": "Observation Medication Adherence Oral Axid (Prescribed) Using Boolean Code Value Pair Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" - }, - { - "reference": { - "reference": "Observation/medication-adherence-self-tylenol" - }, - "description": "This is a medication adherance for a self-prescribed OTC medication example using Observation. Both the code and value use SNOMED CT and the MedicationRequest is reference using the basedOn element.", - "name": "Observation Medication Adherence Self Tylenol (OTC) Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" - }, - { - "reference": { - "reference": "Procedure/defib-implant" - }, - "description": "This *US Core Procedure Profile* is an example of an Defibrillator implant Procedure. In this example, the reason for a referral is communicated through `Procedure.code'.", - "name": "Procedure Defibrillator Implant Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - }, - { - "reference": { - "reference": "Observation/serum-glucose" - }, - "description": "This is a serum glucose example for the *US Core Observation Lab Profile*.", - "name": "Serum Glucose Example", - "exampleBoolean": true - }, - { - "reference": { - "reference": "Observation/substance-use-status" - }, - "description": "This is an Substance-use-status example for the *Simple Observation Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Simple Observations.", - "name": "Substance Use Status Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" - }, - { - "reference": { - "reference": "Observation/TAPS-item-example-75889-6" - }, - "description": "This is a Taps Item Example 75889-6 (How often have you had four or more drinks in one day during the past year [Reported]) for the *US Core Observation Screening Assessment Profile*", - "name": "Taps Item Example 75889-6", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - }, - { - "reference": { - "reference": "Observation/TAPS-item-example-88037-7" - }, - "description": "This is a Taps Item Example 88037-7 (How often have you had five or more drinks in one day during the past year [Reported]) for the *US Core Observation Screening Assessment Profile*", - "name": "Taps Item Example 88037-7", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - }, - { - "reference": { - "reference": "Observation/TAPS-item-example-96842-0" - }, - "description": "This is a Taps Item Example 96842-0 (How often have you used any tobacco product in past 12 months) for the *US Core Observation Screening Assessment Profile*", - "name": "Taps Item Example 96842-0", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - }, - { - "reference": { - "reference": "Observation/TAPS-item-example-96843-8" - }, - "description": "This is a Taps Item Example 96843-8 (How often have you used illegal or recreational drugs in past 12 months) for the *US Core Observation Screening Assessment Profile*", - "name": "Taps Item Example 96843-8", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - }, - { - "reference": { - "reference": "Observation/TAPS-item-example-96844-6" - }, - "description": "This is a Taps Item Example 96844-6 (How often have you used any prescription medications just for the feeling, more than prescribed or that were not prescribed for you in past 12 months [TAPS]) for the *US Core Observation Screening Assessment Profile*", - "name": "Taps Item Example 96844-6", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - }, - { - "reference": { - "reference": "Observation/TAPS-panel-example-96841-2" - }, - "description": "This is a Taps Panel Example 96841-2 (Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS]) for the *US Core Observation Screening Assessment Profile*", - "name": "Taps Panel Example 96841-2", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - }, - { - "reference": { - "reference": "Questionnaire/TAPS" - }, - "description": "Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] questionnaire example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources.", - "name": "Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] Questionnaire Example", - "exampleBoolean": true - }, - { - "reference": { - "reference": "QuestionnaireResponse/TAPS" - }, - "description": "This is the [LHC Form](https://loinc.org/lhc-forms/) Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] QuestionnaireResponse example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources.", - "name": "Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] QuestionnaireResponse Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" - }, - { - "reference": { - "reference": "Observation/intervention-preference" - }, - "description": "This is an intervention preference example for the *Treatment Intervention Profile*. It is based on the *US Core Simple Observation Profile*.", - "name": "Treatment Intervention Preference Example", - "exampleCanonical": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference" - }, { "reference": { "reference": "StructureDefinition/us-core-average-blood-pressure" @@ -379,86 +75,6 @@ "exampleBoolean": false, "name": "US Core Average Blood Pressure Profile" }, - { - "reference": { - "reference": "ValueSet/uscore-care-experience-preference" - }, - "description": "A code representing an individual's care experience preferences.", - "exampleBoolean": false, - "name": "US Core Care Experience Preference Codes" - }, - { - "reference": { - "reference": "StructureDefinition/us-core-care-experience-preference" - }, - "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch for a patient's care experience preferences. It is based on the US Core Simple Profile and identifies which *additional* core elements, extensions, vocabularies, and value sets **SHALL** be present and constrains the way the elements are used when using the profile. It provides the floor for standards development for specific use cases.", - "exampleBoolean": false, - "name": "US Core Care Experience Preference Profile" - }, - { - "reference": { - "reference": "ValueSet/uscore-common-sdoh-assessments" - }, - "description": "Common SDOH assessment concepts covering the following categories (Gravity Project SDOH Domains):\n - Food (Food Insecurity)\n - Housing (Housing Instability)\n - Health (Social Connection, Stress)\n - Employment (Employment Status)\n - Care (SDOH Category Unspecified)\n - Transit (Transportation Insecurity)\n - Money (Financial Insecurity)\n - Goods (Material Hardship)\n - Education (SDOH Category Unspecified)\n - Legal (SDOH Category Unspecified)", - "exampleBoolean": false, - "name": "US Core Common SDOH Assessments ValueSet" - }, - { - "reference": { - "reference": "StructureDefinition/us-core-observation-lab" - }, - "description": "The US Core Laboratory Result Observation Profile is based upon the US Core Observation Clinical Result Profile and, along with the US Core DiagnosticReport Profile for Laboratory Results Reporting, meets the U.S. Core Data for Interoperability (USCDI) Laboratory requirements. Laboratory results are grouped and summarized using the DiagnosticReport resource, which references Observation resources. Each Observation resource represents an individual laboratory test and result value, a “nested” panel (such as a microbial susceptibility panel) that references other observations, or rarely a laboratory test with component result values. The US Core Laboratory Result Observation Profile sets minimum expectations for the Observation resource to record, search, and fetch laboratory test results associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies, and value sets SHALL be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.", - "exampleBoolean": false, - "name": "US Core Laboratory Result Observation Profile" - }, - { - "reference": { - "reference": "StructureDefinition/us-core-location" - }, - "description": "This profile sets minimum expectations for the Location resource for recording, searching, and fetching a \"physical place of available services or resources.\" It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present and constrains how the elements are used when using the profile. It provides the floor for standards development for specific use cases to promote interoperability and adoption through common implementation.", - "exampleBoolean": false, - "name": "US Core Location Profile" - }, - { - "reference": { - "reference": "StructureDefinition/us-core-medication-adherence" - }, - "description": "The Medication Adherence Extension is a statement of whether a medication has been consumed according to instructions for discharge, community-prescribed, and self-prescribed medications. This extension is not intended to track adherence to the Inpatient Medication Administration Record (MAR). In FHIR, [MedicationAdministration](https://hl7.org/fhir/R4/medicationadministration.html) is typically used to monitor compliance with the MAR.", - "exampleBoolean": false, - "name": "US Core Medication Adherence Extension" - }, - { - "reference": { - "reference": "ValueSet/uscore-medicationstatement-status" - }, - "description": "A code specifying the state of the statement. Generally, this will be active or completed state. This value set excludes the concept used internally by the FHIR specification, not-taken,on-hold,stopped, and unknown, because they are covered by the medication adherence extension.", - "exampleBoolean": false, - "name": "US Core Medication Status Codes" - }, - { - "reference": { - "reference": "StructureDefinition/us-core-medicationrequest" - }, - "description": "The US Core Medication Request Profile is based upon the core FHIR MedicationRequest Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 *Medications* requirements. The MedicationRequest resource can be used to record a patient's medication prescription or order. This profile sets minimum expectations for the MedicationRequest resource to record, search, and fetch a patient's medication to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.", - "exampleBoolean": false, - "name": "US Core MedicationRequest Profile" - }, - { - "reference": { - "reference": "StructureDefinition/us-core-medicationstatement" - }, - "description": "Profile of MedicationStatement to support medication adherence - record of a statement of whether a medication has been consumed according to instructions.\nThis profile sets minimum expectations for the MedicationStatement resource to record, search, and fetch a record of a statement of whether a medication has been consumed according to instructions. It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases to promote interoperability and adoption through common implementation.", - "exampleBoolean": false, - "name": "US Core MedicationStatement" - }, - { - "reference": { - "reference": "ValueSet/uscore-pa-codes" - }, - "description": "A starter set of Physical Activity codes based off the [Physical activity IG](https://hl7.org/fhir/us/physical-activity/)", - "exampleBoolean": false, - "name": "US Core PA Codes ValueSet" - }, { "reference": { "reference": "StructureDefinition/us-core-patient" @@ -466,46 +82,6 @@ "description": "The US Core Patient Profile meets the U.S. Core Data for Interoperability (USCDI) v3 'Patient Demographics' requirements. This profile sets minimum expectations for the Patient resource to record, search, and fetch basic demographics and other administrative information about an individual patient. It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource when using this profile to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.", "exampleBoolean": false, "name": "US Core Patient Profile" - }, - { - "reference": { - "reference": "StructureDefinition/us-core-procedure" - }, - "description": "The US Core Procedure Profile is based upon the core FHIR Procedure Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 'Procedures' requirements. This profile sets minimum expectations for the Procedure resource to record, search, and fetch procedures associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.", - "exampleBoolean": false, - "name": "US Core Procedure Profile" - }, - { - "reference": { - "reference": "StructureDefinition/us-core-specimen" - }, - "description": "This profile sets minimum expectations for the Specimen resource to record, search, and fetch \"substances being sampled or tested. (e.g., nasopharyngeal swab, whole blood, serum, urine, wound swab)\" associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.", - "exampleBoolean": false, - "name": "US Core Specimen Profile" - }, - { - "reference": { - "reference": "CodeSystem/uscore-treatment-intervention-preference" - }, - "description": "A code representing an individual's medical intervention (treatment) preferences.", - "exampleBoolean": false, - "name": "US Core Treatment Intervention Preference CodeSystem" - }, - { - "reference": { - "reference": "StructureDefinition/us-core-treatment-intervention-preference" - }, - "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch for a patient's treatment intervention preferences. It is based on the US Core Simple Profile and identifies which *additional* core elements, extensions, vocabularies, and value sets **SHALL** be present and constrains the way the elements are used when using the profile. It provides the floor for standards development for specific use cases.", - "exampleBoolean": false, - "name": "US Core Treatment Intervention Preference Profile" - }, - { - "reference": { - "reference": "ValueSet/uscore-treatment-intervention-preference" - }, - "description": "A code representing an individual's medical intervention (treatment) preferences.", - "exampleBoolean": false, - "name": "US Core Treatment Intervention Preference ValueSet" } ], "page": { diff --git a/functional-status-assessments/BathingOrGroomingHygieneADLIADL.xlsx b/functional-status-assessments/BathingOrGroomingHygieneADLIADL.xlsx deleted file mode 100644 index 5c650215..00000000 Binary files a/functional-status-assessments/BathingOrGroomingHygieneADLIADL.xlsx and /dev/null differ diff --git a/functional-status-assessments/BedMobilityADLOrIADL.xlsx b/functional-status-assessments/BedMobilityADLOrIADL.xlsx deleted file mode 100644 index db6ab008..00000000 Binary files a/functional-status-assessments/BedMobilityADLOrIADL.xlsx and /dev/null differ diff --git a/functional-status-assessments/DomesticDutiesOrHouseholdTasksADLIADL.xlsx b/functional-status-assessments/DomesticDutiesOrHouseholdTasksADLIADL.xlsx deleted file mode 100644 index ba6342b3..00000000 Binary files a/functional-status-assessments/DomesticDutiesOrHouseholdTasksADLIADL.xlsx and /dev/null differ diff --git a/functional-status-assessments/DressingADLOrIADL.xlsx b/functional-status-assessments/DressingADLOrIADL.xlsx deleted file mode 100644 index 6f1106b2..00000000 Binary files a/functional-status-assessments/DressingADLOrIADL.xlsx and /dev/null differ diff --git a/functional-status-assessments/FallRisk.xlsx b/functional-status-assessments/FallRisk.xlsx deleted file mode 100644 index aa356677..00000000 Binary files a/functional-status-assessments/FallRisk.xlsx and /dev/null differ diff --git a/functional-status-assessments/FunctionalStatusClinicalAssessment.xlsx b/functional-status-assessments/FunctionalStatusClinicalAssessment.xlsx deleted file mode 100644 index 9f07a99f..00000000 Binary files a/functional-status-assessments/FunctionalStatusClinicalAssessment.xlsx and /dev/null differ diff --git a/functional-status-assessments/SitToStandAbility.xlsx b/functional-status-assessments/SitToStandAbility.xlsx deleted file mode 100644 index 4360f254..00000000 Binary files a/functional-status-assessments/SitToStandAbility.xlsx and /dev/null differ diff --git a/functional-status-assessments/StairUseADLOrIADL.xlsx b/functional-status-assessments/StairUseADLOrIADL.xlsx deleted file mode 100644 index 65fbbdc4..00000000 Binary files a/functional-status-assessments/StairUseADLOrIADL.xlsx and /dev/null differ diff --git a/functional-status-assessments/TelephoneUseADLOrIADL.xlsx b/functional-status-assessments/TelephoneUseADLOrIADL.xlsx deleted file mode 100644 index eed43911..00000000 Binary files a/functional-status-assessments/TelephoneUseADLOrIADL.xlsx and /dev/null differ diff --git a/functional-status-assessments/ToiletingADLOrIADL.xlsx b/functional-status-assessments/ToiletingADLOrIADL.xlsx deleted file mode 100644 index 8a48f6ba..00000000 Binary files a/functional-status-assessments/ToiletingADLOrIADL.xlsx and /dev/null differ diff --git a/functional-status-assessments/TransferringADLOrIADL.xlsx b/functional-status-assessments/TransferringADLOrIADL.xlsx deleted file mode 100644 index 2002c2ca..00000000 Binary files a/functional-status-assessments/TransferringADLOrIADL.xlsx and /dev/null differ diff --git a/functional-status-assessments/WalkingOrAmbulationLocomotionADLIADL (1).xlsx b/functional-status-assessments/WalkingOrAmbulationLocomotionADLIADL (1).xlsx deleted file mode 100644 index 995eb87c..00000000 Binary files a/functional-status-assessments/WalkingOrAmbulationLocomotionADLIADL (1).xlsx and /dev/null differ diff --git a/functional-status-assessments/WalkingOrAmbulationLocomotionADLIADL.xlsx b/functional-status-assessments/WalkingOrAmbulationLocomotionADLIADL.xlsx deleted file mode 100644 index 213aaf40..00000000 Binary files a/functional-status-assessments/WalkingOrAmbulationLocomotionADLIADL.xlsx and /dev/null differ diff --git a/functional-status-assessments/compare_tables.ipynb b/functional-status-assessments/compare_tables.ipynb deleted file mode 100644 index b9ab896a..00000000 --- a/functional-status-assessments/compare_tables.ipynb +++ /dev/null @@ -1,114 +0,0 @@ -{ - "cells": [ - { - "cell_type": "code", - "execution_count": 14, - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/Users/ehaas/.pyenv/versions/3.10.2/envs/jupyter/lib/python3.10/site-packages/openpyxl/styles/stylesheet.py:226: UserWarning: Workbook contains no default style, apply openpyxl's default\n", - " warn(\"Workbook contains no default style, apply openpyxl's default\")\n" - ] - }, - { - "data": { - "text/plain": [ - "(187, 6)" - ] - }, - "execution_count": 14, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "from pandas import read_excel\n", - "from pandas import DataFrame\n", - "from pandas import merge\n", - "\n", - "# Read the excel file\n", - "df1 = read_excel('/Users/ehaas/Downloads/FunctionalStatusClinicalAssessment.xlsx', sheet_name='Expansion List', skiprows=13)\n", - "\n", - "df1.shape" - ] - }, - { - "cell_type": "code", - "execution_count": 31, - "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "/Users/ehaas/.pyenv/versions/3.10.2/envs/jupyter/lib/python3.10/site-packages/openpyxl/styles/stylesheet.py:226: UserWarning: Workbook contains no default style, apply openpyxl's default\n", - " warn(\"Workbook contains no default style, apply openpyxl's default\")\n" - ] - }, - { - "data": { - "text/plain": [ - "(148, 6)" - ] - }, - "execution_count": 31, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "df2 = read_excel('WalkingOrAmbulationLocomotionADLIADL.xlsx', sheet_name='Expansion List', skiprows=13)\n", - "\n", - "df2.shape" - ] - }, - { - "cell_type": "code", - "execution_count": 32, - "metadata": {}, - "outputs": [ - { - "data": { - "text/plain": [ - "(17, 7)" - ] - }, - "execution_count": 32, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "# Merge the two dataframes\n", - "\n", - "df3 = df1.merge(df2, indicator=True, how='outer')\n", - "df3[df3['_merge'] == 'both'].shape" - ] - } - ], - "metadata": { - "kernelspec": { - "display_name": "jupyter", - "language": "python", - "name": "python3" - }, - "language_info": { - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "file_extension": ".py", - "mimetype": "text/x-python", - "name": "python", - "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.10.2" - }, - "orig_nbformat": 4 - }, - "nbformat": 4, - "nbformat_minor": 2 -} diff --git a/input/data/assessments-valuesets.csv b/input/data/assessments-valuesets.csv index 593ab32e..c9743b8c 100644 --- a/input/data/assessments-valuesets.csv +++ b/input/data/assessments-valuesets.csv @@ -1,6 +1,6 @@ Data Class Number,USCDI Data Element,Category Code,ValueSet Name,VSAC Link,VSAC OID,Clinical Judgement,Panel,Panel Item,Comment,USCoreStarterCodes,Gravity 1,SDOH,sdoh,Social Determinants of Health Screening Assessments,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1247.126/expansion,2.16.840.1.113762.1.4.1247.126,FALSE,TRUE,FALSE,Set of SDOH Panel Codes,TRUE, -,SDOH,sdoh,US Core SDOH Panel item Codes,ValueSet-uscore-common-sdoh-assessments.html,-,FALSE,FALSE,TRUE,,TRUE, +,SDOH,sdoh,US Core SDOH Panel Item Codes,ValueSet-uscore-common-sdoh-assessments.html,-,FALSE,FALSE,TRUE,,TRUE, ,SDOH,sdoh,Caregiver Availability,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1058/expansion,2.16.840.1.113762.1.4.1222.1058,FALSE,FALSE,TRUE,,FALSE,TRUE ,SDOH,sdoh,Caregiver Characteristics,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1057/expansion,2.16.840.1.113762.1.4.1222.1057,FALSE,FALSE,TRUE,,FALSE,TRUE ,SDOH,sdoh,Criminal Justice Involvement or Incarceration History,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1082/expansion,2.16.840.1.113762.1.4.1222.1082,FALSE,FALSE,TRUE,,FALSE,TRUE diff --git a/input/data/codesystem-ref-all-list.csv b/input/data/codesystem-ref-all-list.csv new file mode 100644 index 00000000..fefd2c58 --- /dev/null +++ b/input/data/codesystem-ref-all-list.csv @@ -0,0 +1,128 @@ +URL,Version,Status,OIDs,Name,Title,Descriptino,Used,, +http://dicom.nema.org/resources/ontology/DCM,01,active,1.2.840.10008.2.16.4,DICOM Controlled Terminology Definitions,null,"DICOM Code Definitions (Coding Scheme Designator ""DCM"" Coding Scheme Version ""01"")",ValueSet/security-role-type,, +http://hl7.org/fhir/CodeSystem/medication-status,4.0.1,draft,2.16.840.1.113883.4.642.4.1380,Medication Status Codes,Medication status codes,Medication Status Codes,ValueSet/medication-status,, +http://hl7.org/fhir/CodeSystem/medicationrequest-intent,4.0.1,draft,2.16.840.1.113883.4.642.4.1378,medicationRequest Intent,Medication request intent,MedicationRequest Intent Codes,ValueSet/medicationrequest-intent,, +http://hl7.org/fhir/CodeSystem/medicationrequest-status,4.0.1,draft,2.16.840.1.113883.4.642.4.1377,medicationrequest Status,Medicationrequest status,MedicationRequest Status Codes,ValueSet/medicationrequest-status,, +http://hl7.org/fhir/address-type,4.0.1,active,2.16.840.1.113883.4.642.4.70,AddressType,AddressType,The type of an address (physical / postal).,ValueSet/address-type,, +http://hl7.org/fhir/address-use,4.0.1,active,2.16.840.1.113883.4.642.4.68,AddressUse,AddressUse,The use of an address.,ValueSet/address-use,, +http://hl7.org/fhir/administrative-gender,4.0.1,active,2.16.840.1.113883.4.642.4.2,AdministrativeGender,AdministrativeGender,The gender of a person used for administrative purposes.,ValueSet/administrative-gender,, +http://hl7.org/fhir/allergy-intolerance-category,4.0.1,draft,2.16.840.1.113883.4.642.4.134,AllergyIntoleranceCategory,AllergyIntoleranceCategory,Category of an identified substance associated with allergies or intolerances.,ValueSet/allergy-intolerance-category,, +http://hl7.org/fhir/allergy-intolerance-criticality,4.0.1,draft,2.16.840.1.113883.4.642.4.130,AllergyIntoleranceCriticality,AllergyIntoleranceCriticality,"Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.",ValueSet/allergy-intolerance-criticality,, +http://hl7.org/fhir/allergy-intolerance-type,4.0.1,draft,2.16.840.1.113883.4.642.4.132,AllergyIntoleranceType,AllergyIntoleranceType,Identification of the underlying physiological mechanism for a Reaction Risk.,ValueSet/allergy-intolerance-type,, +http://hl7.org/fhir/care-plan-activity-status,4.0.1,draft,2.16.840.1.113883.4.642.4.147,CarePlanActivityStatus,CarePlanActivityStatus,Codes that reflect the current state of a care plan activity within its overall life cycle.,ValueSet/care-plan-activity-status,, +http://hl7.org/fhir/care-team-status,4.0.1,draft,2.16.840.1.113883.4.642.4.154,CareTeamStatus,CareTeamStatus,Indicates the status of the care team.,ValueSet/care-team-status,, +http://hl7.org/fhir/composition-status,4.0.1,draft,2.16.840.1.113883.4.642.4.242,CompositionStatus,CompositionStatus,The workflow/clinical status of the composition.,ValueSet/composition-status,, +http://hl7.org/fhir/contact-point-system,4.0.1,active,2.16.840.1.113883.4.642.4.72,ContactPointSystem,ContactPointSystem,Telecommunications form for contact point.,ValueSet/contact-point-system,, +http://hl7.org/fhir/contact-point-use,4.0.1,active,2.16.840.1.113883.4.642.4.74,ContactPointUse,ContactPointUse,Use of contact point.,ValueSet/contact-point-use,, +http://hl7.org/fhir/days-of-week,4.0.1,active,2.16.840.1.113883.4.642.4.513,DaysOfWeek,DaysOfWeek,The days of the week.,ValueSet/days-of-week,, +http://hl7.org/fhir/device-nametype,4.0.1,draft,2.16.840.1.113883.4.642.4.1084,DeviceNameType,DeviceNameType,The type of name the device is referred by.,ValueSet/device-nametype,, +http://hl7.org/fhir/device-status,4.0.1,draft,2.16.840.1.113883.4.642.4.210,FHIRDeviceStatus,FHIRDeviceStatus,The availability status of the device.,ValueSet/device-status,, +http://hl7.org/fhir/diagnostic-report-status,4.0.1,draft,2.16.840.1.113883.4.642.4.236,DiagnosticReportStatus,DiagnosticReportStatus,The status of the diagnostic report.,ValueSet/diagnostic-report-status,, +http://hl7.org/fhir/document-reference-status,4.0.1,draft,2.16.840.1.113883.4.642.4.8,DocumentReferenceStatus,DocumentReferenceStatus,The status of the document reference.,ValueSet/document-reference-status,, +http://hl7.org/fhir/document-relationship-type,4.0.1,draft,2.16.840.1.113883.4.642.4.245,DocumentRelationshipType,DocumentRelationshipType,The type of relationship between documents.,ValueSet/document-relationship-type,, +http://hl7.org/fhir/encounter-location-status,4.0.1,draft,2.16.840.1.113883.4.642.4.263,EncounterLocationStatus,EncounterLocationStatus,The status of the location.,ValueSet/encounter-location-status,, +http://hl7.org/fhir/encounter-status,4.0.1,draft,2.16.840.1.113883.4.642.4.247,EncounterStatus,EncounterStatus,Current state of the encounter.,ValueSet/encounter-status,, +http://hl7.org/fhir/event-status,4.0.1,draft,2.16.840.1.113883.4.642.4.110,EventStatus,EventStatus,Codes identifying the lifecycle stage of an event.,"ValueSet/immunization-status,ValueSet/event-status",, +http://hl7.org/fhir/fhir-types,5.0.0,active,2.16.840.1.113883.4.642.4.1802,FHIRTypes,All FHIR Types,One of the types defined as part of this version of FHIR.,ValueSet/resource-types,, +http://hl7.org/fhir/fm-status,4.0.1,draft,2.16.840.1.113883.4.642.4.593,FinancialResourceStatusCodes,Financial Resource Status Codes,This value set includes Status codes.,ValueSet/fm-status,, +http://hl7.org/fhir/goal-status,4.0.1,draft,2.16.840.1.113883.4.642.4.272,GoalLifecycleStatus,GoalLifecycleStatus,Codes that reflect the current state of a goal and whether the goal is still being targeted.,ValueSet/goal-status,, +http://hl7.org/fhir/identifier-use,4.0.1,active,2.16.840.1.113883.4.642.4.58,IdentifierUse,IdentifierUse,"Identifies the purpose for this identifier, if known .",ValueSet/identifier-use,, +http://hl7.org/fhir/link-type,4.0.1,active,2.16.840.1.113883.4.642.4.424,LinkType,LinkType,The type of link between this patient resource and another patient resource.,ValueSet/link-type,, +http://hl7.org/fhir/location-mode,4.0.1,draft,2.16.840.1.113883.4.642.4.331,LocationMode,LocationMode,Indicates whether a resource instance represents a specific location or a class of locations.,ValueSet/location-mode,, +http://hl7.org/fhir/location-status,4.0.1,draft,2.16.840.1.113883.4.642.4.333,LocationStatus,LocationStatus,Indicates whether the location is still in use.,ValueSet/location-status,, +http://hl7.org/fhir/name-use,4.0.1,active,2.16.840.1.113883.4.642.4.66,NameUse,NameUse,The use of a human name.,ValueSet/name-use,, +http://hl7.org/fhir/narrative-status,4.0.1,draft,2.16.840.1.113883.4.642.4.56,NarrativeStatus,NarrativeStatus,The status of a resource narrative.,ValueSet/us-core-narrative-status,, +http://hl7.org/fhir/observation-status,4.0.1,active,2.16.840.1.113883.4.642.4.401,ObservationStatus,ObservationStatus,Codes providing the status of an observation.,"ValueSet/us-core-observation-smoking-status-status,ValueSet/observation-status",, +http://hl7.org/fhir/provenance-entity-role,4.0.1,draft,2.16.840.1.113883.4.642.4.437,ProvenanceEntityRole,ProvenanceEntityRole,How an entity was used in an activity.,ValueSet/provenance-entity-role,, +http://hl7.org/fhir/quantity-comparator,4.0.1,active,2.16.840.1.113883.4.642.4.60,QuantityComparator,QuantityComparator,How the Quantity should be understood and represented.,ValueSet/quantity-comparator,, +http://hl7.org/fhir/questionnaire-answers-status,4.0.1,draft,2.16.840.1.113883.4.642.4.448,QuestionnaireResponseStatus,QuestionnaireResponseStatus,Lifecycle status of the questionnaire response.,ValueSet/questionnaire-answers-status,, +http://hl7.org/fhir/reaction-event-severity,4.0.1,draft,2.16.840.1.113883.4.642.4.136,AllergyIntoleranceSeverity,AllergyIntoleranceSeverity,"Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.",ValueSet/reaction-event-severity,, +http://hl7.org/fhir/request-intent,4.0.1,draft,2.16.840.1.113883.4.642.4.114,RequestIntent,RequestIntent,Codes indicating the degree of authority/intentionality associated with a request.,"ValueSet/request-intent,ValueSet/care-plan-intent",, +http://hl7.org/fhir/request-priority,4.0.1,draft,2.16.840.1.113883.4.642.4.116,RequestPriority,RequestPriority,Identifies the level of importance to be assigned to actioning the request.,ValueSet/request-priority,, +http://hl7.org/fhir/request-status,4.0.1,draft,2.16.840.1.113883.4.642.4.112,RequestStatus,RequestStatus,Codes identifying the lifecycle stage of a request.,ValueSet/request-status,, +http://hl7.org/fhir/resource-types,4.0.1,active,,ResourceType,ResourceType,One of the resource types defined as part of this version of FHIR.,ValueSet/care-plan-activity-kind,, +http://hl7.org/fhir/sid/cvx,4.0.0,active,2.16.840.1.113883.12.292,CVX,Vaccine Administered Code Set (CVX),"The CDC's National Center of Immunization and Respiratory Diseases (NCIRD - see [https://www.cdc.gov/ncird/](https://www.cdc.gov/ncird/)) developed and maintains the CVX (vaccine administered) code set. It includes both active and inactive vaccines available in the US. CVX codes for inactive vaccines allow transmission of historical immunization records. When a MVX (manufacturer) code is paired with a CVX (vaccine administered) code, the specific trade named vaccine may be indicated. These codes should be used for immunization messages using either HL7 Version 2.3.1 or HL7 Version 2.5.1. CVX is the underlying Master Code System for V2 table 0292 (Vaccines Administered). The machine readable name for CVX in PHIN VADS is PH_VaccinesAdministeredCVX_CDC_NIP. The version of the CVX code set for certification can be found on the archive page:[https://www2a.cdc.gov/vaccines/iis/iisstandards/mu3versioned_codes.asp](https://www2a.cdc.gov/vaccines/iis/iisstandards/mu3versioned_codes.asp) The Status column indicates if the vaccine is currently available in the United States. * Active: A currently available administrable vaccine * Inactive: An administrable vaccine formulation that is no longer available for patient administration, but can be found in historical patient records OR A historical record of a vaccine administered where the exact formulation is unknown * Pending: A vaccine that is expected to become active in the future * Non-US: A vaccine that available outside the US only * Never Active: A vaccine that was never available and is not in the pipeline of new vaccines The Last Updated column indicates the last time this particular vaccine code was updated in this table. Questions regarding this table should be directed to the IIS Technical Assistance Team via iisinfo@cdc.gov (or use mailing address via [https://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx#addr](https://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx#addr)) HL7 Implementers should note that 'Status' IS NOT CONCEPT STATUS as all codes are ACTIVE in this code system. The current code system is available via [https://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx](https://www2a.cdc.gov/vaccines/iis/iisstandards/vaccines.asp?rpt=cvx)",ValueSet/2.16.840.1.113762.1.4.1010.6,, +http://hl7.org/fhir/sid/icd-10-cm,2.0.1,active,2.16.840.1.113883.6.90,Icd10CM,International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM),"The International Classification of Diseases, 10th Revision, Clinical Modification (ICD-10-CM), describes the classification of morbidity and mortality information for statistical purposes and for the indexing of healthcare records by diseases. The ICD-10-CM codes can be used as the value of the Act.cd attribute.",ValueSet/us-core-condition-code +http://hl7.org/fhir/specimen-status,4.0.1,draft,2.16.840.1.113883.4.642.4.472,SpecimenStatus,SpecimenStatus,Codes providing the status/availability of a specimen.,ValueSet/specimen-status,, +http://hl7.org/fhir/udi-entry-type,4.0.1,draft,2.16.840.1.113883.4.642.4.212,UDIEntryType,UDIEntryType,Codes to identify how UDI data was entered.,ValueSet/udi-entry-type,, +http://hl7.org/fhir/us/core/CodeSystem/condition-category,7.0.0-ballot,active,,USCoreConditionCategoryExtensionCodes,US Core Condition Category Extension Codes,Set of codes that are needed for implementation of the US-Core Condition Profile. These codes are used as extensions to the FHIR and US Core value sets.,ValueSet/us-core-problem-or-health-concern,, +http://hl7.org/fhir/us/core/CodeSystem/us-core-category,7.0.0-ballot,active,,USCoreCategory,US Core Category,Category codes used across US Core Profiles and resource types. They are typically used when there is a need for categorization for searching and finding resources or workflow hints.,"ValueSet/us-core-screening-assessment-observation-category,ValueSet/us-core-simple-observation-category,ValueSet/us-core-screening-assessment-condition-category,ValueSet/us-core-servicerequest-category",, +http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category,7.0.0-ballot,active,,USCoreDocumentReferencesCategoryCodes,US Core DocumentReferences Category Codes,The US Core DocumentReferences Type Code System is a 'starter set' of categories supported for fetching and storing DocumentReference Resources.,ValueSet/us-core-documentreference-category,, +http://hl7.org/fhir/us/core/CodeSystem/us-core-provenance-participant-type,7.0.0-ballot,active,,USCoreProvenancePaticipantTypeExtensionCodes,US Core Provenance Participant Type Extension Codes,Set of codes that are needed for implementation of the US-Core Provenance Profile. These codes are used as extensions to the FHIR value sets.,ValueSet/us-core-provenance-participant-type,, +http://loinc.org,3.1.0,active,2.16.840.1.113883.6.1,LOINC,Logical Observation Identifiers Names and Codes (LOINC),"LOINC provides a set of universal names and ID codes for identifying laboratory and clinical test results.1,2 LOINC facilitates the exchange and pooling of results, such as blood hemoglobin, serum potassium, or vital signs, for clinical care, outcomes management, and research. LOINC's universal identifiers (names and codes) can be used in the context of order and observation exchanges between information systems that use syntax standards such as HL73, CEN TC251, ISO TC215, ASTM4, and DICOM. Specifically, the identifier can be used as the coded value for an observation in any other standard that uses the observation/observation value paradigm, whether messages, documents, application programming interface (API), etc. For example, LOINC codes are used widely in the OBX segment Observation Identifier field (OBX-3) of an ORU HL7 (HL7 version 2.x or ASTM 1238-9410) message that may be sent between a Clinical Laboratory Information Management Systems (LIMS) and Electronic Health Record Systems (EHR).5, 6 In this way, LOINC codes provide universal identifiers that allow the exchange of clinical data between heterogeneous computing environments.","ValueSet/us-core-diagnosticreport-category,ValueSet/us-core-vital-signs,ValueSet/c80-doc-typecodes,ValueSet/us-core-documentreference-type,ValueSet/document-classcodes,ValueSet/simple-observation,ValueSet/us-core-survey-codes,ValueSet/us-core-smoking-status-observation-codes,ValueSet/us-core-clinical-note-type,ValueSet/us-core-laboratory-test-codes,ValueSet/us-core-goal-description,ValueSet/care-team-category,ValueSet/us-core-diagnosticreport-report-and-note-codes,ValueSet/us-core-procedure-code,ValueSet/observation-codes",, +http://snomed.info/sct,null,active,2.16.840.1.113883.6.96,SNOMED_CT,SNOMED CT (all versions),"SNOMED CT is the most comprehensive and precise clinical health terminology product in the world, owned and distributed around the world by The International Health Terminology Standards Development Organisation (IHTSDO).","ValueSet/servicerequest-category,ValueSet/specimen-container-type,ValueSet/2.16.840.1.113762.1.4.1099.54,ValueSet/2.16.840.1.113883.11.20.9.38,ValueSet/procedure-followup,ValueSet/us-core-goal-description,ValueSet/specimen-collection-method,ValueSet/medication-form-codes,ValueSet/body-site,ValueSet/manifestation-or-symptom,ValueSet/goal-start-event,ValueSet/procedure-code,ValueSet/medication-as-needed-reason,ValueSet/c80-facilitycodes,ValueSet/immunization-reason,ValueSet/substance-code,ValueSet/simple-observation,ValueSet/care-plan-category,ValueSet/observation-methods,ValueSet/us-core-procedure-code,ValueSet/questionnaire-answers,ValueSet/servicerequest-orderdetail,ValueSet/condition-stage,ValueSet/us-core-encounter-type,ValueSet/clinical-findings,ValueSet/us-core-observation-smokingstatus-max,ValueSet/immunization-target-disease,ValueSet/encounter-reason,ValueSet/participant-role,ValueSet/additional-instruction-codes,ValueSet/us-core-observation-value-codes,ValueSet/approach-site-codes,ValueSet/device-action,ValueSet/us-core-condition-code,ValueSet/medication-codes,ValueSet/us-core-sexual-orientation,ValueSet/device-kind,ValueSet/performer-role,ValueSet/us-core-servicerequest-category,ValueSet/c80-practice-codes,ValueSet/referencerange-appliesto,ValueSet/route-codes,ValueSet/care-plan-activity-outcome,ValueSet/procedure-outcome,ValueSet/procedure-category,ValueSet/condition-code,ValueSet/condition-stage-type,ValueSet/immunization-status-reason,ValueSet/procedure-not-performed-reason,ValueSet/administration-method-codes,ValueSet/condition-severity",, +http://terminology.hl7.org/CodeSystem/PHOccupationalDataForHealthODH,2.0.1,active,2.16.840.1.114222.4.5.327,PHOccupationalDataForHealthODH,Occupational Data for Health (ODH),"The concepts representing the values supporting Occupational Data for Health, including Job Supervisory Level or Pay Grade (ODH) code system consists of data elements that describe a person's work information, structured to facilitate individual, population, and public health use; not intended to support billing.).","ValueSet/2.16.840.1.114222.4.11.7900,ValueSet/2.16.840.1.114222.4.11.7901",, +http://terminology.hl7.org/CodeSystem/admit-source,0.1.0,draft,2.16.840.1.113883.4.642.1.1092,AdmitSource,Admit source,This value set defines a set of codes that can be used to indicate from where the patient came in.,ValueSet/encounter-admit-source,, +http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical,0.5.0,draft,2.16.840.1.113883.4.642.1.1373,AllergyIntoleranceClinicalStatusCodes,AllergyIntolerance Clinical Status Codes,Preferred value set for AllergyIntolerance Clinical Status.,ValueSet/allergyintolerance-clinical,, +http://terminology.hl7.org/CodeSystem/allergyintolerance-verification,0.5.0,draft,2.16.840.1.113883.4.642.1.1371,AllergyIntoleranceVerificationStatus,AllergyIntolerance Verification Status,The verification status to support or decline the clinical status of the allergy or intolerance.,ValueSet/allergyintolerance-verification,, +http://terminology.hl7.org/CodeSystem/condition-category,0.5.0,draft,2.16.840.1.113883.4.642.1.1073,ConditionCategoryCodes,Condition Category Codes,Preferred value set for Condition Categories.,"ValueSet/condition-category,ValueSet/us-core-problem-or-health-concern",, +http://terminology.hl7.org/CodeSystem/condition-clinical,2.0.0,active,2.16.840.1.113883.4.642.1.1074,ConditionClinicalStatusCodes,Condition Clinical Status Codes,Preferred value set for Condition Clinical Status.,ValueSet/condition-clinical,, +http://terminology.hl7.org/CodeSystem/condition-ver-status,1.0.0,draft,2.16.840.1.113883.4.642.1.1075,ConditionVerificationStatus,ConditionVerificationStatus,The verification status to support or decline the clinical status of the condition or diagnosis.,ValueSet/condition-ver-status,, +http://terminology.hl7.org/CodeSystem/contactentity-type,0.5.0,draft,2.16.840.1.113883.4.642.1.1129,ContactEntityType,Contact entity type,This example value set defines a set of codes that can be used to indicate the purpose for which you would contact a contact party.,ValueSet/contactentity-type,, +http://terminology.hl7.org/CodeSystem/contractsignertypecodes,0.1.0,draft,2.16.840.1.113883.4.642.1.1201,ContractSignerTypeCodes,Contract Signer Type Codes,This value set includes sample Contract Signer Type codes.,ValueSet/security-role-type,, +http://terminology.hl7.org/CodeSystem/coverage-class,0.1.0,draft,2.16.840.1.113883.4.642.1.1147,CoverageClassCodes,Coverage Class Codes,This value set includes Coverage Class codes.,ValueSet/coverage-class,, +http://terminology.hl7.org/CodeSystem/coverage-copay-type,0.1.0,draft,2.16.840.1.113883.4.642.1.1149,CoverageCopayTypeCodes,Coverage Copay Type Codes,This value set includes sample Coverage Copayment Type codes.,ValueSet/coverage-copay-type,, +http://terminology.hl7.org/CodeSystem/data-absent-reason,0.1.0,active,2.16.840.1.113883.4.642.4.1048,DataAbsentReason,DataAbsentReason,Used to specify why the normally expected content of the data element is missing.,ValueSet/data-absent-reason,, +http://terminology.hl7.org/CodeSystem/device-status-reason,0.1.0,draft,2.16.840.1.113883.4.642.1.1082,FHIRDeviceStatusReason,FHIRDeviceStatusReason,The availability status reason of the device.,ValueSet/device-status-reason,, +http://terminology.hl7.org/CodeSystem/diagnosis-role,0.1.1,draft,2.16.840.1.113883.4.642.1.1054,DiagnosisRole,Diagnosis Role,This value set defines a set of codes that can be used to express the role of a diagnosis on the Encounter or EpisodeOfCare record.,ValueSet/diagnosis-role,, +http://terminology.hl7.org/CodeSystem/diet,0.1.0,draft,2.16.840.1.113883.4.642.1.1091,Diet,Diet,This value set defines a set of codes that can be used to indicate dietary preferences or restrictions a patient may have.,ValueSet/encounter-diet,, +http://terminology.hl7.org/CodeSystem/dose-rate-type,0.1.0,draft,2.16.840.1.113883.4.642.1.1069,DoseAndRateType,DoseAndRateType,The kind of dose or rate specified.,ValueSet/dose-rate-type,, +http://terminology.hl7.org/CodeSystem/encounter-special-arrangements,0.1.0,draft,2.16.840.1.113883.4.642.1.1090,SpecialArrangements,Special arrangements,This value set defines a set of codes that can be used to indicate the kinds of special arrangements in place for a patients visit.,ValueSet/encounter-special-arrangements,, +http://terminology.hl7.org/CodeSystem/ex-coverage-financial-exception,0.1.0,draft,2.16.840.1.113883.4.642.1.1329,ExampleCoverageFinancialExceptionCodes,Example Coverage Financial Exception Codes,This value set includes Example Coverage Financial Exception Codes.,ValueSet/coverage-financial-exception,, +http://terminology.hl7.org/CodeSystem/extra-security-role-type,0.2.0,draft,,SecurityRoleType,Security Role Type,This CodeSystem contains Additional FHIR-defined Security Role types not defined elsewhere,ValueSet/security-role-type,, +http://terminology.hl7.org/CodeSystem/goal-achievement,0.1.0,draft,2.16.840.1.113883.4.642.1.1375,GoalAchievementStatus,Goal achievement status,"Describes the progression, or lack thereof, towards the goal against the target.",ValueSet/goal-achievement,, +http://terminology.hl7.org/CodeSystem/goal-category,0.1.0,draft,2.16.840.1.113883.4.642.1.1097,GoalCategory,Goal category,Example codes for grouping goals to use for filtering or presentation.,ValueSet/goal-category,, +http://terminology.hl7.org/CodeSystem/goal-priority,0.1.0,draft,2.16.840.1.113883.4.642.1.1096,GoalPriority,Goal priority,Indicates the level of importance associated with reaching or sustaining a goal.,ValueSet/goal-priority,, +http://terminology.hl7.org/CodeSystem/immunization-funding-source,0.1.0,draft,2.16.840.1.113883.4.642.1.1100,ImmunizationFundingSource,Immunization Funding Source,The value set to instantiate this attribute should be drawn from a terminologically robust code system that consists of or contains concepts to support describing the source of the vaccine administered. This value set is provided as a suggestive example.,ValueSet/immunization-funding-source,, +http://terminology.hl7.org/CodeSystem/immunization-origin,0.1.0,draft,2.16.840.1.113883.4.642.1.1101,ImmunizationOriginCodes,Immunization Origin Codes,"The value set to instantiate this attribute should be drawn from a terminologically robust code system that consists of or contains concepts to support describing the source of the data when the report of the immunization event is not based on information from the person, entity or organization who administered the vaccine. This value set is provided as a suggestive example.",ValueSet/immunization-origin,, +http://terminology.hl7.org/CodeSystem/immunization-program-eligibility,0.1.0,draft,2.16.840.1.113883.4.642.1.1099,ImmunizationProgramEligibility,Immunization Program Eligibility,The value set to instantiate this attribute should be drawn from a terminologically robust code system that consists of or contains concepts to support describing the patient's eligibility for a vaccination program. This value set is provided as a suggestive example.,ValueSet/immunization-program-eligibility,, +http://terminology.hl7.org/CodeSystem/immunization-subpotent-reason,0.1.0,draft,2.16.840.1.113883.4.642.1.1098,ImmunizationSubpotentReason,Immunization Subpotent Reason,The value set to instantiate this attribute should be drawn from a terminologically robust code system that consists of or contains concepts to support describing the reason why a dose is considered to be subpotent. This value set is provided as a suggestive example.,ValueSet/immunization-subpotent-reason,, +http://terminology.hl7.org/CodeSystem/location-physical-type,1.0.0,draft,2.16.840.1.113883.4.642.1.1108,LocationType,Location type,This example value set defines a set of codes that can be used to indicate the physical form of the Location. This includes several 'non physical' codes which are still considered a location.,ValueSet/location-physical-type,, +http://terminology.hl7.org/CodeSystem/medicationdispense-performer-function,0.1.0,draft,2.16.840.1.113883.4.642.1.1319,MedicationDispensePerformerFunctionCodes,MedicationDispense Performer Function Codes,MedicationDispense Performer Function Codes,ValueSet/medicationdispense-performer-function,, +http://terminology.hl7.org/CodeSystem/medicationdispense-status,4.0.1,draft,2.16.840.1.113883.4.642.4.1313,MedicationDispense Status Codes,Medication dispense status codes,MedicationDispense Status Codes,ValueSet/medicationdispense-status,, +http://terminology.hl7.org/CodeSystem/medicationrequest-category,0.1.0,draft,2.16.840.1.113883.4.642.1.1323,MedicationRequestCategoryCodes,MedicationRequest Category Codes,MedicationRequest Category Codes,ValueSet/medicationrequest-category,, +http://terminology.hl7.org/CodeSystem/medicationrequest-course-of-therapy,0.1.0,draft,2.16.840.1.113883.4.642.1.1327,MedicationRequestCourseOfTherapyCodes,MedicationRequest Course of Therapy Codes,MedicationRequest Course of Therapy Codes,ValueSet/medicationrequest-course-of-therapy,, +http://terminology.hl7.org/CodeSystem/medicationrequest-status-reason,0.1.0,draft,2.16.840.1.113883.4.642.1.1325,MedicationRequestStatusReasonCodes,MedicationRequest Status Reason Codes,MedicationRequest Status Reason Codes,ValueSet/medicationrequest-status-reason,, +http://terminology.hl7.org/CodeSystem/observation-category,0.1.0,draft,2.16.840.1.113883.4.642.1.1125,ObservationCategoryCodes,Observation Category Codes,Observation Category codes.,"ValueSet/us-core-simple-observation-category,ValueSet/us-core-clinical-result-observation-category,ValueSet/observation-category",, +http://terminology.hl7.org/CodeSystem/organization-type,0.1.0,draft,2.16.840.1.113883.4.642.1.1128,OrganizationType,Organization type,This example value set defines a set of codes that can be used to indicate a type of organization.,ValueSet/organization-type,, +http://terminology.hl7.org/CodeSystem/participant-type,0.5.0,draft,2.16.840.1.113883.4.642.1.1089,ParticipantType,Participant type,This value set defines a set of codes that can be used to indicate how an individual participates in an encounter.,ValueSet/encounter-participant-type,, +http://terminology.hl7.org/CodeSystem/provenance-participant-type,0.1.0,draft,2.16.840.1.113883.4.642.1.1131,ProvenanceParticipantType,Provenance participant type,The type of participation a provenance participant.,"ValueSet/provenance-agent-type,ValueSet/us-core-provenance-participant-type",, +http://terminology.hl7.org/CodeSystem/referencerange-meaning,0.1.0,draft,2.16.840.1.113883.4.642.1.1124,ObservationReferenceRangeMeaningCodes,Observation Reference Range Meaning Codes,This value set defines a set of codes that can be used to indicate the meaning/use of a reference range for a particular target population.,ValueSet/referencerange-meaning,, +http://terminology.hl7.org/CodeSystem/service-type,0.1.0,draft,2.16.840.1.113883.4.642.1.1145,ServiceType,Service type,This value set defines an example set of codes of service-types.,ValueSet/service-type,, +http://terminology.hl7.org/CodeSystem/subscriber-relationship,0.1.0,draft,2.16.840.1.113883.4.642.1.1386,SubscriberRelationshipCodes,SubscriberPolicyholder Relationship Codes,This value set includes codes for the relationship between the Subscriber and the Beneficiary (insured/covered party/patient).,ValueSet/subscriber-relationship,, +http://terminology.hl7.org/CodeSystem/v2-0074,2.5.0,active,2.16.840.1.113883.18.29,DiagnosticServiceSectionId,diagnosticServiceSectionId,HL7-defined code system of concepts which specify a section of a diagnostic service where the observation may be performed. Used in HL7 Version 2.x messaging in the OBR and OM4 segments.,ValueSet/diagnostic-service-sections,, +http://terminology.hl7.org/CodeSystem/v2-0092,2.1.0,active,2.16.840.1.113883.18.36,ReAdmissionIndicator,re-admissionIndicator,"Code system of concepts which are used to specify that a patient is being re admitted to a healthcare facilityin from which they were discharged, and indicates the circumstances around such re-admission. Used in HL7 Version 2.x messagine in the PV1 segment.",ValueSet/v2-0092,, +http://terminology.hl7.org/CodeSystem/v2-0116,2.2.0,active,2.16.840.1.113883.18.47,BedStatus,bedStatus,"Code system of concepts which specify the state of a bed in an inpatient setting, and is used to determine if a patient may be assigned to it or not. Used in HL7 Version 2.x messaging in the DLD and PV1 segments.",ValueSet/v2-0116,, +http://terminology.hl7.org/CodeSystem/v2-0131,2.1.0,active,2.16.840.1.113883.18.58,ContactRole2,contactRole2,"Code system of concepts which specify a relationship role that the next of kin/associated parties plays with regard to the patient. Also used in referrals, for example, it may be necessary to identify the contact representative at the clinic that sent a referral. Used in HL7 Version 2 messaging in the NK1 and CTD segments after 2.5, when it replace 2.16.840.1.113883.18.57.","ValueSet/relatedperson-relationshiptype,ValueSet/patient-contactrelationship",, +http://terminology.hl7.org/CodeSystem/v2-0203,3.0.0,active,2.16.840.1.113883.18.108,IdentifierType,identifierType,"HL7-defined code system of concepts specifying type of identifier. Used in HL7 Version 2.x messaging data types CX, PLN, PPN, XCN and XON.",ValueSet/identifier-type,, +http://terminology.hl7.org/CodeSystem/v2-0371,2.1.0,active,2.16.840.1.113883.18.229,AdditivePreservative,additivePreservative,"HL7-defined code system of concepts specifying any additive introduced to the specimen before or at the time of collection. These additives may be introduced in order to preserve, maintain or enhance the particular nature or component of the specimen. Used in HL7 Version 2.x messaging in the SPM and SAC segments.",ValueSet/v2-0371,, +http://terminology.hl7.org/CodeSystem/v2-0373,2.1.0,active,2.16.840.1.113883.18.231,Treatment,treatment,Code system of concepts that identify the specimen treatment performed during lab processing. Used in the Interaction Specimen Container Detail (SAC) segment in HL7 Version 2.x messaging.,ValueSet/specimen-processing-procedure,, +http://terminology.hl7.org/CodeSystem/v2-0443,2.3.0,active,2.16.840.1.113883.18.283,ProviderRole,providerRole,"Code system of concepts specifying the functional involvement with the activity being transmitted (e.g., Case Manager, Evaluator, Transcriber, Nurse Care Practitioner, Midwife, Physician Assistant, etc.). Used in HL7 Version 2.x messaging in the ROL segment.",ValueSet/immunization-function,, +http://terminology.hl7.org/CodeSystem/v2-0493,2.2.0,active,2.16.840.1.113883.18.317,SpecimenCondition,specimenCondition,Code system of concepts specifying a mode or state of being that describes the nature of the specimen. Used in HL7 Version 2.x messaging in the SPM segment.,ValueSet/v2-0493,, +http://terminology.hl7.org/CodeSystem/v2-0916,2.2.0,active,2.16.840.1.113883.18.422,RelevantClincialInformation,relevantClincialInformation,Code system of concepts specifying additional clinical information about the patient or specimen to report the supporting and/or suspected diagnosis and clinical findings on requests for interpreted diagnostic studies. Used in HL7 Version 2.x messaging in the OBR segment.,ValueSet/v2-0916,, +http://terminology.hl7.org/CodeSystem/v3-ActCode,8.0.1,active,2.16.840.1.113883.5.4,ActCode,ActCode,"A code specifying the particular kind of Act that the Act-instance represents within its class. *Constraints:* The kind of Act (e.g. physical examination, serum potassium, inpatient encounter, charge financial transaction, etc.) is specified with a code from one of several, typically external, coding systems. The coding system will depend on the class of Act, such as LOINC for observations, etc. Conceptually, the Act.code must be a specialization of the Act.classCode. This is why the structure of ActClass domain should be reflected in the superstructure of the ActCode domain and then individual codes or externally referenced vocabularies subordinated under these domains that reflect the ActClass structure. Act.classCode and Act.code are not modifiers of each other but the Act.code concept should really imply the Act.classCode concept. For a negative example, it is not appropriate to use an Act.code ""potassium"" together with and Act.classCode for ""laboratory observation"" to somehow mean ""potassium laboratory observation"" and then use the same Act.code for ""potassium"" together with Act.classCode for ""medication"" to mean ""substitution of potassium"". This mutually modifying use of Act.code and Act.classCode is not permitted.","ValueSet/v3-ActPharmacySupplyType,ValueSet/v3-ActCode,ValueSet/provenance-activity-type,ValueSet/v3-ActEncounterCode",, +http://terminology.hl7.org/CodeSystem/v3-ActPriority,2.1.0,active,2.16.840.1.113883.5.7,ActPriority,ActPriority,"A set of codes (e.g., for routine, emergency), specifying the urgency under which the Act happened, can happen, is happening, is intended to happen, or is requested/demanded to happen.",ValueSet/v3-ActPriority,, +http://terminology.hl7.org/CodeSystem/v3-ActReason,2.1.1,active,2.16.840.1.113883.5.8,ActReason,ActReason,"A set of codes specifying the motivation, cause, or rationale of an Act, when such rationale is not reasonably represented as an ActRelationship of type ""has reason"" linking to another Act. *Examples:* Example reasons that might qualify for being coded in this field might be: ""routine requirement"", ""infectious disease reporting requirement"", ""on patient request"", ""required by law"".","ValueSet/immunization-status-reason,ValueSet/v3-PurposeOfUse,ValueSet/v3-SubstanceAdminSubstitutionReason",, +http://terminology.hl7.org/CodeSystem/v3-ActSite,2.1.0,active,2.16.840.1.113883.5.1052,ActSite,ActSite,An anatomical location on an organism which can be the focus of an act.,ValueSet/immunization-site,, +http://terminology.hl7.org/CodeSystem/v3-DataOperation,4.1.0,active,2.16.840.1.113883.5.1123,DataOperation,DataOperation,**** MISSING DESCRIPTION ****,ValueSet/provenance-activity-type,, +http://terminology.hl7.org/CodeSystem/v3-DocumentCompletion,2.1.0,active,2.16.840.1.113883.5.33,DocumentCompletion,DocumentCompletion,Identifies the current completion state of a clinical document.,ValueSet/provenance-activity-type,, +http://terminology.hl7.org/CodeSystem/v3-EncounterSpecialCourtesy,2.1.0,active,2.16.840.1.113883.5.40,EncounterSpecialCourtesy,EncounterSpecialCourtesy,**** MISSING DESCRIPTION ****,ValueSet/encounter-special-courtesy,, +http://terminology.hl7.org/CodeSystem/v3-MaritalStatus,2.1.0,active,2.16.840.1.113883.5.2,MaritalStatus,MaritalStatus,\* \* \* No description supplied \* \* \* *Open Issue:* The specific meanings of these codes can vary somewhat by jurisdiction and implementation so caution should be used when determining equivalency. *Open Issue:* fixing and completion of the hierarchy and proper good definitions of all the concepts is badly needed.,ValueSet/marital-status,, +http://terminology.hl7.org/CodeSystem/v3-NullFlavor,2.1.0,active,2.16.840.1.113883.5.1008,NullFlavor,NullFlavor,A collection of codes specifying why a valid value is not present.,"ValueSet/us-core-documentreference-type,ValueSet/us-core-sexual-orientation,ValueSet/us-core-pregnancy-intent,ValueSet/marital-status,ValueSet/us-core-pregnancy-status,ValueSet/encounter-special-courtesy",, +http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation,2.1.0,active,2.16.840.1.113883.5.83,ObservationInterpretation,ObservationInterpretation,"One or more codes providing a rough qualitative interpretation of the observation, such as ""normal"" / ""abnormal"", ""low"" / ""high"", ""better"" / ""worse"", ""resistant"" / ""susceptible"", ""expected"" / ""not expected"". The value set is intended to be for ANY use where coded representation of an interpretation is needed.",ValueSet/observation-interpretation,, +http://terminology.hl7.org/CodeSystem/v3-ParticipationFunction,2.1.0,active,2.16.840.1.113883.5.88,ParticipationFunction,ParticipationFunction,This code is used to specify the exact function an actor had in a service in all necessary detail. This domain may include local extensions (CWE).,ValueSet/security-role-type,, +http://terminology.hl7.org/CodeSystem/v3-ParticipationType,4.0.0,active,2.16.840.1.113883.5.90,ParticipationType,ParticipationType,A code specifying the meaning and purpose of every Participation instance. Each of its values implies specific constraints on the Roles undertaking the participation.,"ValueSet/security-role-type,ValueSet/encounter-participant-type,ValueSet/provenance-activity-type",, +http://terminology.hl7.org/CodeSystem/v3-RoleClass,3.1.0,active,2.16.840.1.113883.5.110,RoleClass,RoleClass,"Codes for the Role class hierarchy. The values in this hierarchy, represent a Role which is an association or relationship between two entities - the entity that plays the role and the entity that scopes the role. Roles names are derived from the name of the playing entity in that role. The role hierarchy stems from three core concepts, or abstract domains: * **RoleClassOntological** is an abstract domain that collects roles in which the playing entity is defined or specified by the scoping entity. * **RoleClassPartitive** collects roles in which the playing entity is in some sense a ""part"" of the scoping entity. * **RoleClassAssociative** collects all of the remaining forms of association between the playing entity and the scoping entity. This set of roles is further partitioned between: * **RoleClassPassive** which are roles in which the playing entity is used, known, treated, handled, built, or destroyed, etc. under the auspices of the scoping entity. The playing entity is passive in these roles in that the role exists without an agreement from the playing entity. * **RoleClassMutualRelationship** which are relationships based on mutual behavior of the two entities. The basis of these relationship may be formal agreements or they may be *de facto* behavior. Thus, this sub-domain is further divided into: * **RoleClassRelationshipFormal** in which the relationship is formally defined, frequently by a contract or agreement. * **Personal relationship** which inks two people in a personal relationship. The hierarchy discussed above is represented In the current vocabulary tables as a set of abstract domains, with the exception of the ""Personal relationship"" which is a leaf concept. *OpenIssue:* Description copied from Concept Domain of same name. Must be verified.",ValueSet/security-role-type,, +http://terminology.hl7.org/CodeSystem/v3-RoleCode,2.2.0,active,2.16.840.1.113883.5.111,RoleCode,RoleCode,A set of codes further specifying the kind of Role; specific classification codes for further qualifying RoleClass codes.,"ValueSet/security-role-type,ValueSet/relatedperson-relationshiptype,ValueSet/v3-ServiceDeliveryLocationRoleType",, +http://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration,2.1.0,active,2.16.840.1.113883.5.112,RouteOfAdministration,RouteOfAdministration,The path the administered medication takes to get into the body or into contact with the body.,ValueSet/immunization-route,, +http://terminology.hl7.org/CodeSystem/v3-TribalEntityUS,3.0.0,active,2.16.840.1.113883.5.140,TribalEntityUS,TribalEntityUS,INDIAN ENTITIES RECOGNIZED AND ELIGIBLE TO RECEIVE SERVICES FROM THE UNITED STATES BUREAU OF INDIAN AFFAIRS,ValueSet/v3-TribalEntityUS,, +http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution,2.1.0,active,2.16.840.1.113883.5.1070,SubstanceAdminSubstitution,Substance Admin Substitution,Identifies what sort of change is permitted or has occurred between the therapy that was ordered and the therapy that was/will be provided.,ValueSet/v3-ActSubstanceAdminSubstitutionCode,, +http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category,4.0.1,draft,2.16.840.1.113883.4.642.4.1315,MedicationDispense Category Codes,Medication dispense category codes,MedicationDispense Category Codes,ValueSet/medicationdispense-category,, +http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-status-reason,4.0.1,draft,2.16.840.1.113883.4.642.4.1317,MedicationDispense Status Reason Codes,Medication dispense status reason codes,MedicationDispense Status Codes,ValueSet/medicationdispense-status-reason,, +http://unitsofmeasure.org,3.0.1,active,2.16.840.1.113883.6.8,UCUM,Unified Code for Units of Measure (UCUM),"The Unified Code for Units of Measure (UCUM) is a code system intended to include all units of measures being contemporarily used in international science, engineering, and business. The purpose is to facilitate unambiguous electronic communication of quantities together with their units. The focus is on electronic communication, as opposed to communication between humans. A typical application of The Unified Code for Units of Measure are electronic data interchange (EDI) protocols, but there is nothing that prevents it from being used in other types of machine communication.","ValueSet/ucum-bodyweight,ValueSet/ucum-bodytemp,ValueSet/ucum-common,ValueSet/ucum-vitals-common,ValueSet/ucum-bodylength",, +http://www.ada.org/cdt,3.0.1,active,2.16.840.1.113883.6.13,CDT,Code on Dental Procedures and Nomenclature,"The purpose of the CDT Code is to achieve uniformity, consistency and specificity in accurately documenting dental treatment. One use of the CDT Code is to provide for the efficient processing of dental claims, and another is to populate an Electronic Health Record.",ValueSet/us-core-procedure-code,, +http://www.ama-assn.org/go/cpt,3.0.1,active,2.16.840.1.113883.6.12,CPT,Current Procedural Terminology (CPT®),"The Current Procedural Terminology (CPT) code set, created and maintained by the American Medical Association, is the language of medicine today and the code to its future. This system of terminology is the most widely accepted medical nomenclature used to report medical procedures and services under public and private health insurance programs. CPT coding is also used for administrative management purposes such as claims processing and developing guidelines for medical care review. Each year, via a rigorous, evidence-based and transparent process, the independent CPT Editorial Panel revises, creates or deletes hundreds of codes in order to reflect current medical practice. Designated by the U.S. Department of Health and Human Services under the Health Insurance Portability and Accountability Act (HIPAA) as a national coding set for physician and other health care professional services and procedures, CPT’s evidence-based codes accurately encompass the full range of health care services. All CPT codes are five-digits and can be either numeric or alphanumeric, depending on the category. CPT code descriptors are clinically focused and utilize common standards so that a diverse set of users can have common understanding across the clinical health care paradigm. There are various types of CPT codes: Category I: These codes have descriptors that correspond to a procedure or service. Codes range from 00100–99499 and are generally ordered into sub-categories based on procedure/service type and anatomy. Category II: These alphanumeric tracking codes are supplemental codes used for performance measurement. Using them is optional and not required for correct coding. Category III: These are temporary alphanumeric codes for new and developing technology, procedures and services. They were created for data collection, assessment and in some instances, payment of new services and procedures that currently don’t meet the criteria for a Category I code. Proprietary Laboratory Analyses (PLA) codes: These codes describe proprietary clinical laboratory analyses and can be either provided by a single (“solesource”) laboratory or licensed or marketed to multiple providing laboratories that are cleared or approved by the Food and Drug Administration (FDA)). This category includes but is not limited to Advanced Diagnostic Laboratory Tests (ADLTs) and Clinical Diagnostic Laboratory Tests (CDLTs), as defined under the Protecting Access to Medicare Act of 2014 (PAMA).","ValueSet/us-core-encounter-type,ValueSet/us-core-procedure-code",, +http://www.cms.gov/Medicare/Coding/ICD10,2.0.1,active,2.16.840.1.113883.6.4,Icd10PCS,ICD-10 Procedure Codes,ICD Procedure Coding System (ICD 10 PCS),ValueSet/us-core-procedure-code,, +https://nahdo.org/sopt,9.2,active,,SOP,Source of Payment Typology,,ValueSet/2.16.840.1.114222.4.11.3591,, +https://www.cms.gov/Medicare/Coding/HCPCSReleaseCodeSets,1.0.1,active,2.16.840.1.113883.6.285,HCPCSLevelII,Healthcare Common Procedure Coding System (HCPCS) level II alphanumeric codes,"The Level II HCPCS codes, which are established by CMS's Alpha-Numeric Editorial Panel, primarily represent items and supplies and non-physician services not covered by the American Medical Association's Current Procedural Terminology-4 (CPT-4) codes; Medicare, Medicaid, and private health insurers use HCPCS procedure and modifier codes for claims processing. Level II alphanumeric procedure and modifier codes comprise the A to V range.",ValueSet/us-core-procedure-code,, +urn:ietf:bcp:47,2.0.1,active,2.16.840.1.113883.6.121,Ietf3066,Tags for the Identification of Languages,Older value from OID registry. Superceded; see recommendations in BCP-47.,"ValueSet/languages,ValueSet/simple-language",, \ No newline at end of file diff --git a/input/data/ig.yml b/input/data/ig.yml index 1bcc9d4d..e406a4f7 100644 --- a/input/data/ig.yml +++ b/input/data/ig.yml @@ -36,71 +36,6 @@ dependsOn: id: hl7_fhir_uv_extensions_r4 definition: resource: - - reference: - reference: Questionnaire/AUDIT-C - description: Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] - questionnaire example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) - guidance using Questionnaire/QuestionnaireResponse resources. - name: Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] Questionnaire - Example - exampleBoolean: true - - reference: - reference: QuestionnaireResponse/AUDIT-C - description: This is the [LHC Form](https://loinc.org/lhc-forms/) Alcohol Use - Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse example. - It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) - guidance using Questionnaire/QuestionnaireResponse resources. - name: Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse - Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse - - reference: - reference: Observation/alcohol-use-status - description: This is an alcohol-use-status example for the *Simple Observation - Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) - guidance using Simple Observations. - name: Alcohol Use Status Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation - - reference: - reference: Observation/alcoholic-drinks-per-day - description: This is an Alcoholic Drinks Per Day example for the *Simple Observation - Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) - guidance using Simple Observations. - name: Alcoholic Drinks Per Day Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation - - reference: - reference: Observation/AUDIT-C-item-example-68517-2 - description: This is a Audit-C Item Example 68517-2 (How many times in the past - year have you have X or more drinks in a day?) for the *US Core Observation - Screening Assessment Profile* - name: Audit-C Item Example 68517-2 - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment - - reference: - reference: Observation/AUDIT-C-item-example-68519-8 - description: This is a Audit-C Item Example 68519-8 (How many standard drinks - containing alcohol do you have on a typical day?) for the *US Core Observation - Screening Assessment Profile* - name: Audit-C Item Example 68519-8 - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment - - reference: - reference: Observation/AUDIT-C-item-example-68520-6 - description: This is a Audit-C Item Example 68520-6 (How often do you have 6 or - more drinks on 1 occasion?) for the *US Core Observation Screening Assessment - Profile* - name: Audit-C Item Example 68520-6 - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment - - reference: - reference: Observation/AUDIT-C-item-example-75626-2 - description: This is a Audit-C Item Example 75626-2 (Total score [AUDIT-C]) for - the *US Core Observation Screening Assessment Profile* - name: Audit-C Item Example 75626-2 - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment - - reference: - reference: Observation/AUDIT-C-panel-example-72109-2 - description: This is a Audit-C Panel Example 72109-2 (Alcohol Use Disorder Identification - Test - Consumption [AUDIT-C]) for the *US Core Observation Screening Assessment - Profile* - name: Audit-C Panel Example 72109-2 - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment - reference: reference: Observation/average-blood-pressure description: This is an average blood pressure example for the *Vitalsigns Profile*. It @@ -108,211 +43,6 @@ definition: [Average Blood Pressure Profile](http://hl7.org/fhir/us/vitals/StructureDefinition/average-blood-pressure). name: Average Blood Pressure Example exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-average-blood-pressure - - reference: - reference: Observation/care-experience-preference - description: This is an care experience preference example for the *Care Experience - Profile*. It is based on the *US Core Simple Observation Profile*. - name: Care Experience Preference Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference - - reference: - reference: Observation/EVS-item-example-68516-4 - description: This is a Evs Item Example 68516-4 (On those days that you engage - in moderate to strenuous exercise, how many minutes, on average, do you exercise?) - for the *US Core Observation Screening Assessment Profile* - name: Evs Item Example 68516-4 - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment - - reference: - reference: Observation/EVS-item-example-89555-7 - description: This is a Evs Item Example 89555-7 (How many D per W did you engage - in moderate to strenuous physical activity in the last 30D) for the *US Core - Observation Screening Assessment Profile* - name: Evs Item Example 89555-7 - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment - - reference: - reference: Observation/EVS-panel-example-89574-8 - description: This is a Evs Panel Example 89574-8 (Exercise Vital Sign (EVS)) for - the *US Core Observation Screening Assessment Profile* - name: Evs Panel Example 89574-8 - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment - - reference: - reference: Observation/exercise-per-day - description: This is an minutes exercise per day example for the *Simple Observation - Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) - guidance using Simple Observations. - name: Exercise Per Day Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation - - reference: - reference: Observation/exercise-per-week - description: This is a days exercise per week example for the *Simple Observation - Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) - guidance using Simple Observations. - name: Exercise Per Week Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation - - reference: - reference: Questionnaire/exercise-vital-sign - description: This is the [LHC Form](https://loinc.org/lhc-forms/) Exercise Vital - Sign (EVS) Questionnaire Example. It is based on the on US Core [Screening and - Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance - using Questionnaire/QuestionnaireResponse resources. - name: Exercise Vital Sign Questionnaire Example - exampleBoolean: true - - reference: - reference: QuestionnaireResponse/exercise-vital-sign - description: This is the [LHC Form](https://loinc.org/lhc-forms/) Exercise Vital - Sign (EVS) QuestionnaireResponse Example. It is based on the on US Core [Screening - and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) - guidance using Questionnaire/QuestionnaireResponse resources. - name: Exercise Vital Sign QuestionnaireResponse Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse - - reference: - reference: Specimen/example-serum-hemolyzed - description: This is a serum specimen example for the *US Core Specimen Profile*. - It demonstrates the use of the USCDI requirements for specimen condition and - body source site. - name: Hemolyzed Serum Specimen Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen - - reference: - reference: Location/hospital - description: This is an example hospital location for the *US Core Location Profile*. - name: Hospital Location - exampleBoolean: true - - reference: - reference: MedicationRequest/coded-oral-axid-with-compliance - description: This example demonstrates medication adherence for a prescribed medication - example using an extension on the MedicationRequest. The extension value uses - SNOMED CT. - name: MedicationRequest Coded Oral Axid with Compliance Extension Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest - - reference: - reference: MedicationRequest/self-tylenol-with-compliance - description: This example demonstrates medication adherence for a self-prescribed - Tylenol example for the using an extension on the MedicationRequest. The extension - value uses SNOMED CT. - name: MedicationRequest Self Tylenol with Compliance Extension Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest - - reference: - reference: MedicationStatement/coded-oral-axid-with-compliance - description: This example demonstrates medication adherence for a prescribed medication - example using an R5 element extension on the MedicationStatement. The extension - value uses MedicationStatement Adherence Codes. - name: MedicationStatement Coded Oral Axid with Adherence Extension Example - exampleCanonical: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationstatement - - reference: - reference: MedicationStatement/self-tylenol-with-compliance - description: This example demonstrates medication adherence for a self-prescribed - Tylenol example for the using an extension on the MedicationRequest. The extension - value uses MedicationStatement Adherence Codes. - name: MedicationStatement Self Tylenol with Compliance Extension Example - exampleCanonical: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationstatement - - reference: - reference: Observation/medication-adherence-oral-axid - description: This is a medication adherance for a prescribed medication example - using Observation. Both the code and value use SNOMED CT and the MedicationRequest - is reference using the basedOn element. - name: Observation Medication Adherence Oral Axid (Prescribed) Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation - - reference: - reference: Observation/medication-adherence-oral-axid-boolean - description: This is a medication adherance for a prescribed medication example - using Observation. The code uses LOINC with an Ordinal scale and value use - boolean values and the MedicationRequest is reference using the basedOn element. - name: Observation Medication Adherence Oral Axid (Prescribed) Using Boolean Code - Value Pair Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation - - reference: - reference: Observation/medication-adherence-self-tylenol - description: This is a medication adherance for a self-prescribed OTC medication - example using Observation. Both the code and value use SNOMED CT and the MedicationRequest - is reference using the basedOn element. - name: Observation Medication Adherence Self Tylenol (OTC) Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation - - reference: - reference: Procedure/defib-implant - description: This *US Core Procedure Profile* is an example of an Defibrillator - implant Procedure. In this example, the reason for a referral is communicated - through `Procedure.code'. - name: Procedure Defibrillator Implant Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure - - reference: - reference: Observation/serum-glucose - description: This is a serum glucose example for the *US Core Observation Lab - Profile*. - name: Serum Glucose Example - exampleBoolean: true - - reference: - reference: Observation/substance-use-status - description: This is an Substance-use-status example for the *Simple Observation - Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) - guidance using Simple Observations. - name: Substance Use Status Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation - - reference: - reference: Observation/TAPS-item-example-75889-6 - description: This is a Taps Item Example 75889-6 (How often have you had four - or more drinks in one day during the past year [Reported]) for the *US Core - Observation Screening Assessment Profile* - name: Taps Item Example 75889-6 - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment - - reference: - reference: Observation/TAPS-item-example-88037-7 - description: This is a Taps Item Example 88037-7 (How often have you had five - or more drinks in one day during the past year [Reported]) for the *US Core - Observation Screening Assessment Profile* - name: Taps Item Example 88037-7 - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment - - reference: - reference: Observation/TAPS-item-example-96842-0 - description: This is a Taps Item Example 96842-0 (How often have you used any - tobacco product in past 12 months) for the *US Core Observation Screening Assessment - Profile* - name: Taps Item Example 96842-0 - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment - - reference: - reference: Observation/TAPS-item-example-96843-8 - description: This is a Taps Item Example 96843-8 (How often have you used illegal - or recreational drugs in past 12 months) for the *US Core Observation Screening - Assessment Profile* - name: Taps Item Example 96843-8 - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment - - reference: - reference: Observation/TAPS-item-example-96844-6 - description: This is a Taps Item Example 96844-6 (How often have you used any - prescription medications just for the feeling, more than prescribed or that - were not prescribed for you in past 12 months [TAPS]) for the *US Core Observation - Screening Assessment Profile* - name: Taps Item Example 96844-6 - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment - - reference: - reference: Observation/TAPS-panel-example-96841-2 - description: This is a Taps Panel Example 96841-2 (Tobacco, Alcohol, Prescription - medications, and other Substance use screen [TAPS]) for the *US Core Observation - Screening Assessment Profile* - name: Taps Panel Example 96841-2 - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment - - reference: - reference: Questionnaire/TAPS - description: Tobacco, Alcohol, Prescription medications, and other Substance use - screen [TAPS] questionnaire example. It is based on the on US Core [Screening - and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) - guidance using Questionnaire/QuestionnaireResponse resources. - name: Tobacco, Alcohol, Prescription medications, and other Substance use screen - [TAPS] Questionnaire Example - exampleBoolean: true - - reference: - reference: QuestionnaireResponse/TAPS - description: This is the [LHC Form](https://loinc.org/lhc-forms/) Tobacco, Alcohol, - Prescription medications, and other Substance use screen [TAPS] QuestionnaireResponse - example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) - guidance using Questionnaire/QuestionnaireResponse resources. - name: Tobacco, Alcohol, Prescription medications, and other Substance use screen - [TAPS] QuestionnaireResponse Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse - - reference: - reference: Observation/intervention-preference - description: This is an intervention preference example for the *Treatment Intervention - Profile*. It is based on the *US Core Simple Observation Profile*. - name: Treatment Intervention Preference Example - exampleCanonical: http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference - reference: reference: StructureDefinition/us-core-average-blood-pressure description: To promote interoperability and adoption through common implementation, @@ -325,114 +55,6 @@ definition: development for specific use cases. exampleBoolean: false name: US Core Average Blood Pressure Profile - - reference: - reference: ValueSet/uscore-care-experience-preference - description: A code representing an individual's care experience preferences. - exampleBoolean: false - name: US Core Care Experience Preference Codes - - reference: - reference: StructureDefinition/us-core-care-experience-preference - description: To promote interoperability and adoption through common implementation, - this profile sets minimum expectations for the Observation resource to record, - search, and fetch for a patient's care experience preferences. It is based on - the US Core Simple Profile and identifies which *additional* core elements, - extensions, vocabularies, and value sets **SHALL** be present and constrains - the way the elements are used when using the profile. It provides the floor - for standards development for specific use cases. - exampleBoolean: false - name: US Core Care Experience Preference Profile - - reference: - reference: ValueSet/uscore-common-sdoh-assessments - description: "Common SDOH assessment concepts covering the following categories\ - \ (Gravity Project SDOH Domains):\n - Food (Food Insecurity)\n - Housing (Housing\ - \ Instability)\n - Health (Social Connection, Stress)\n - Employment (Employment\ - \ Status)\n - Care (SDOH Category Unspecified)\n - Transit (Transportation Insecurity)\n\ - \ - Money (Financial Insecurity)\n - Goods (Material Hardship)\n - Education\ - \ (SDOH Category Unspecified)\n - Legal (SDOH Category Unspecified)" - exampleBoolean: false - name: US Core Common SDOH Assessments ValueSet - - reference: - reference: StructureDefinition/us-core-observation-lab - description: "The US Core Laboratory Result Observation Profile is based upon\ - \ the US Core Observation Clinical Result Profile and, along with the US Core\ - \ DiagnosticReport Profile for Laboratory Results Reporting, meets the U.S.\ - \ Core Data for Interoperability (USCDI) Laboratory requirements. Laboratory\ - \ results are grouped and summarized using the DiagnosticReport resource, which\ - \ references Observation resources. Each Observation resource represents an\ - \ individual laboratory test and result value, a \u201Cnested\u201D panel (such\ - \ as a microbial susceptibility panel) that references other observations, or\ - \ rarely a laboratory test with component result values. The US Core Laboratory\ - \ Result Observation Profile sets minimum expectations for the Observation resource\ - \ to record, search, and fetch laboratory test results associated with a patient\ - \ to promote interoperability and adoption through common implementation. It\ - \ identifies which core elements, extensions, vocabularies, and value sets SHALL\ - \ be present in the resource and constrains the way the elements are used when\ - \ using this profile. It provides the floor for standards development for specific\ - \ use cases." - exampleBoolean: false - name: US Core Laboratory Result Observation Profile - - reference: - reference: StructureDefinition/us-core-location - description: This profile sets minimum expectations for the Location resource - for recording, searching, and fetching a "physical place of available services - or resources." It identifies which core elements, extensions, vocabularies, - and value sets **SHALL** be present and constrains how the elements are used - when using the profile. It provides the floor for standards development for - specific use cases to promote interoperability and adoption through common implementation. - exampleBoolean: false - name: US Core Location Profile - - reference: - reference: StructureDefinition/us-core-medication-adherence - description: The Medication Adherence Extension is a statement of whether a medication - has been consumed according to instructions for discharge, community-prescribed, - and self-prescribed medications. This extension is not intended to track adherence - to the Inpatient Medication Administration Record (MAR). In FHIR, [MedicationAdministration](https://hl7.org/fhir/R4/medicationadministration.html) - is typically used to monitor compliance with the MAR. - exampleBoolean: false - name: US Core Medication Adherence Extension - - reference: - reference: ValueSet/uscore-medicationstatement-status - description: A code specifying the state of the statement. Generally, this will - be active or completed state. This value set excludes the concept used internally - by the FHIR specification, not-taken,on-hold,stopped, and unknown, because they - are covered by the medication adherence extension. - exampleBoolean: false - name: US Core Medication Status Codes - - reference: - reference: StructureDefinition/us-core-medicationrequest - description: The US Core Medication Request Profile is based upon the core FHIR - MedicationRequest Resource and meets the U.S. Core Data for Interoperability - (USCDI) v2 *Medications* requirements. The MedicationRequest resource can be - used to record a patient's medication prescription or order. This profile sets - minimum expectations for the MedicationRequest resource to record, search, and - fetch a patient's medication to promote interoperability and adoption through - common implementation. It identifies which core elements, extensions, vocabularies, - and value sets **SHALL** be present in the resource and constrains the way the - elements are used when using this profile. It provides the floor for standards - development for specific use cases. - exampleBoolean: false - name: US Core MedicationRequest Profile - - reference: - reference: StructureDefinition/us-core-medicationstatement - description: 'Profile of MedicationStatement to support medication adherence - - record of a statement of whether a medication has been consumed according to - instructions. - - This profile sets minimum expectations for the MedicationStatement resource - to record, search, and fetch a record of a statement of whether a medication - has been consumed according to instructions. It identifies which core elements, - extensions, vocabularies, and value sets **SHALL** be present in the resource - and constrains the way the elements are used when using this profile. It provides - the floor for standards development for specific use cases to promote interoperability - and adoption through common implementation.' - exampleBoolean: false - name: US Core MedicationStatement - - reference: - reference: ValueSet/uscore-pa-codes - description: A starter set of Physical Activity codes based off the [Physical - activity IG](https://hl7.org/fhir/us/physical-activity/) - exampleBoolean: false - name: US Core PA Codes ValueSet - reference: reference: StructureDefinition/us-core-patient description: The US Core Patient Profile meets the U.S. Core Data for Interoperability @@ -447,52 +69,6 @@ definition: for standards development for specific use cases. exampleBoolean: false name: US Core Patient Profile - - reference: - reference: StructureDefinition/us-core-procedure - description: The US Core Procedure Profile is based upon the core FHIR Procedure - Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 'Procedures' - requirements. This profile sets minimum expectations for the Procedure resource - to record, search, and fetch procedures associated with a patient to promote - interoperability and adoption through common implementation. It identifies - which core elements, extensions, vocabularies, and value sets **SHALL** be present - in the resource and constrains the way the elements are used when using this - profile. It provides the floor for standards development for specific use cases. - exampleBoolean: false - name: US Core Procedure Profile - - reference: - reference: StructureDefinition/us-core-specimen - description: This profile sets minimum expectations for the Specimen resource - to record, search, and fetch "substances being sampled or tested. (e.g., nasopharyngeal - swab, whole blood, serum, urine, wound swab)" associated with a patient to promote - interoperability and adoption through common implementation. It identifies - which core elements, extensions, vocabularies, and value sets **SHALL** be present - in the resource and constrains the way the elements are used when using this - profile. It provides the floor for standards development for specific use cases. - exampleBoolean: false - name: US Core Specimen Profile - - reference: - reference: CodeSystem/uscore-treatment-intervention-preference - description: A code representing an individual's medical intervention (treatment) - preferences. - exampleBoolean: false - name: US Core Treatment Intervention Preference CodeSystem - - reference: - reference: StructureDefinition/us-core-treatment-intervention-preference - description: To promote interoperability and adoption through common implementation, - this profile sets minimum expectations for the Observation resource to record, - search, and fetch for a patient's treatment intervention preferences. It is - based on the US Core Simple Profile and identifies which *additional* core elements, - extensions, vocabularies, and value sets **SHALL** be present and constrains - the way the elements are used when using the profile. It provides the floor - for standards development for specific use cases. - exampleBoolean: false - name: US Core Treatment Intervention Preference Profile - - reference: - reference: ValueSet/uscore-treatment-intervention-preference - description: A code representing an individual's medical intervention (treatment) - preferences. - exampleBoolean: false - name: US Core Treatment Intervention Preference ValueSet page: nameUrl: toc.html title: Table of Contents diff --git a/input/data/scopes.csv b/input/data/scopes.csv index 5d1f084d..2e9e3c6d 100644 --- a/input/data/scopes.csv +++ b/input/data/scopes.csv @@ -4,10 +4,10 @@ 2,US Core CarePlan Profile,StructureDefinition-us-core-careplan.html,TRUE,care plan,CarePlan,,, 3,US Core CareTeam Profile,StructureDefinition-us-core-careteam.html,TRUE,careteam,CareTeam,,, 4,US Core Condition Encounter Diagnosis Profile,StructureDefinition-us-core-condition-encounter-diagnosis.html,TRUE,encounter diagnosis,Condition,http://terminology.hl7.org/CodeSystem/condition-category|encounter-diagnosis,, -5,US Core Condition Problems and Health Concerns Profile,StructureDefinition-us-core-condition-problems-health-concerns.html,TRUE,problems and health concern,Condition,http://terminology.hl7.org/CodeSystem/condition-category|problem-list-item,http://hl7.org/fhir/us/core/CodeSystem/condition-category|health-concern`, +5,US Core Condition Problems and Health Concerns Profile,StructureDefinition-us-core-condition-problems-health-concerns.html,TRUE,problems and health concern,Condition,http://terminology.hl7.org/CodeSystem/condition-category|problem-list-item,http://hl7.org/fhir/us/core/CodeSystem/condition-category|health-concern, 6,US Core Coverage Profile,StructureDefinition-us-core-coverage.html,TRUE,coverage,Coverage,,, 7,US Core Implantable Device Profile,StructureDefinition-us-core-implantable-device.html,TRUE,implantable device,Device,,, -8,US Core DiagnosticReport Profile for Report and Note Exchange,StructureDefinition-us-core-diagnosticreport-note.html,TRUE,clniical note,DiagnosticReport,http://loinc.org|LP29684-5,"http://loinc.org|LP29708-2 ","http://loinc.org|LP7839-6 " +8,US Core DiagnosticReport Profile for Report and Note Exchange,StructureDefinition-us-core-diagnosticreport-note.html,TRUE,clniical note,DiagnosticReport,http://loinc.org|LP29684-5,http://loinc.org|LP29708-2,http://loinc.org|LP7839-6 9,US Core DiagnosticReport Profile for Laboratory Results Reporting,StructureDefinition-us-core-diagnosticreport-lab.html,TRUE,laboratory,DiagnosticReport,http://terminology.hl7.org/CodeSystem/v2-0074|LAB,, 10,US Core DocumentReference Profile,StructureDefinition-us-core-documentreference.html,TRUE,clniical note,DocumentReference,http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note,, 11,US Core Encounter Profile,StructureDefinition-us-core-encounter.html,TRUE,encounter,Encounter,,, @@ -25,9 +25,9 @@ 22,US Core MedicationRequest Profile,StructureDefinition-us-core-medicationrequest.html,TRUE,prescription,MedicationRequest,,, 23,US Core MedicationDispense Profile,StructureDefinition-us-core-medicationdispense.html,TRUE,dispensed medication,MedicationDispense,,, 24,US Core Laboratory Result Observation Profile,StructureDefinition-us-core-observation-lab.html,TRUE,laboratory,Observation,http://terminology.hl7.org/CodeSystem/observation-category|laboratory,, -25,US Core Observation Pregnancy Status Profile,StructureDefinition-us-core-observation-pregnancystatus.html,TRUE,social history,Observation,http://terminology.hl7.org/3.1.0/CodeSystem-observation-category.html|social-history,, -26,US Core Observation Pregnancy Intent Profile,StructureDefinition-us-core-observation-pregnancyintent.html,TRUE,social history,Observation,http://terminology.hl7.org/3.1.0/CodeSystem-observation-category.html|social-history,, -27,US Core Observation Occupation Profile,StructureDefinition-us-core-observation-occupation.html,TRUE,social history,Observation,http://terminology.hl7.org/3.1.0/CodeSystem-observation-category.html|social-history,, +25,US Core Observation Pregnancy Status Profile,StructureDefinition-us-core-observation-pregnancystatus.html,TRUE,social history,Observation,http://terminology.hl7.org//CodeSystem-observation-category.html|social-history,, +26,US Core Observation Pregnancy Intent Profile,StructureDefinition-us-core-observation-pregnancyintent.html,TRUE,social history,Observation,http://terminology.hl7.org//CodeSystem-observation-category.html|social-history,, +27,US Core Observation Occupation Profile,StructureDefinition-us-core-observation-occupation.html,TRUE,social history,Observation,http://terminology.hl7.org//CodeSystem-observation-category.html|social-history,, 28,,!StructureDefinition-us-core-observation-sdoh-assessment.html,FALSE,,Observation,,, 29,US Core Respiratory Rate Profile,StructureDefinition-us-core-respiratory-rate.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, 30,US Core Simple Observation Profile,StructureDefinition-us-core-simple-observation.html,TRUE,observation,Observation,,, @@ -35,8 +35,8 @@ 32,US Core Body Temperature Profile,StructureDefinition-us-core-body-temperature.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, 33,US Core Pediatric Weight for Height Observation Profile,StructureDefinition-pediatric-weight-for-height.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, 34,US Core Pulse Oximetry Profile,StructureDefinition-us-core-pulse-oximetry.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, -35,US Core Smoking Status Observation Profile,StructureDefinition-us-core-smokingstatus.html,TRUE,social history,Observation,http://terminology.hl7.org/3.1.0/CodeSystem-observation-category.html|social-history,, -36,US Core Observation Sexual Orientation Profile,StructureDefinition-us-core-observation-sexual-orientation.html,TRUE,social history,Observation,http://terminology.hl7.org/3.1.0/CodeSystem-observation-category.html|social-history,, +35,US Core Smoking Status Observation Profile,StructureDefinition-us-core-smokingstatus.html,TRUE,social history,Observation,http://terminology.hl7.org//CodeSystem-observation-category.html|social-history,, +36,US Core Observation Sexual Orientation Profile,StructureDefinition-us-core-observation-sexual-orientation.html,TRUE,social history,Observation,http://terminology.hl7.org//CodeSystem-observation-category.html|social-history,, 37,US Core Head Circumference Profile,StructureDefinition-us-core-head-circumference.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, 38,US Core Body Height Profile,StructureDefinition-us-core-body-height.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, 39,US Core BMI Profile,StructureDefinition-us-core-bmi.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, diff --git a/input/data/source.yml b/input/data/source.yml new file mode 100644 index 00000000..46b36ed7 --- /dev/null +++ b/input/data/source.yml @@ -0,0 +1,15 @@ +'http://cts.nlm.nih.gov/fhir/': + - VSAC + - 'https://vsac.nlm.nih.gov/valueset/{{stem_URL}}/expansion' +'http://hl7.org/fhir/': + - FHIR + - '{{site.data.fhir.path}}valueset-{{stem_URL}}.html' +'http://hl7.org/fhir/us/core/': + - US CORE + - 'ValueSet-{{stem_URL}}.html' +'http://phinvads.cdc.gov/fhir/': + - PHINVADS + - 'http://phinvads.cdc.gov/fhir/ValueSet/{{stem_URL}}' +'http://terminology.hl7.org/': + - THO + - 'http://terminology.hl7.org/ValueSet/{{stem_URL}}' diff --git a/input/data/uscdi-examples.yml b/input/data/uscdi-examples.yml new file mode 100644 index 00000000..2800859f --- /dev/null +++ b/input/data/uscdi-examples.yml @@ -0,0 +1,169 @@ +groups: + AvgBP: + name: Average Blood Pressure + description: Average Blood Pressure Profile and Examples + resources: + - StructureDefinition/us-core-average-blood-pressure + - Observation/average-blood-pressure + SDOH: + name: Social Determinant of Health (SDOH) + description: Social Determinant of Health (SDOH) Examples + resources: + + - Questionnaire/prapare-example + - Questionnaire/hunger-vital-sign-example + - QuestionnaireResponse/prapare-example + - QuestionnaireResponse/hunger-vital-sign-example + - Observation/PRAPARE-item-example-54899-0 + - Observation/PRAPARE-item-example-56051-6 + - Observation/PRAPARE-item-example-56799-0 + - Observation/PRAPARE-item-example-63512-8 + - Observation/PRAPARE-item-example-63586-2 + - Observation/PRAPARE-item-example-67875-5 + - Observation/PRAPARE-item-example-71802-3 + - Observation/PRAPARE-item-example-76437-3 + - Observation/PRAPARE-item-example-76501-6 + - Observation/PRAPARE-item-example-82589-3 + - Observation/PRAPARE-item-example-93026-3 + - Observation/PRAPARE-item-example-93027-1 + - Observation/PRAPARE-item-example-93028-9 + - Observation/PRAPARE-item-example-93029-7 + - Observation/PRAPARE-item-example-93030-5 + - Observation/PRAPARE-item-example-93033-9 + - Observation/PRAPARE-item-example-93034-7 + - Observation/PRAPARE-item-example-93035-4 + - Observation/PRAPARE-item-example-93038-8 + - Observation/PRAPARE-multiselect-item-example-32624-9-answer0 + - Observation/PRAPARE-multiselect-item-example-32624-9-answer1 + - Observation/PRAPARE-multiselect-item-example-93031-3-answer0 + - Observation/PRAPARE-multiselect-item-example-93031-3-answer1 + - Observation/PRAPARE-panel-example-93025-5 + - Observation/PRAPARE-panel-example-93039-6 + - Observation/PRAPARE-panel-example-93040-4 + - Observation/PRAPARE-panel-example-93041-2 + - Observation/PRAPARE-panel-example-93042-0 + - Observation/PRAPARE-panel-example-93043-8 + - Observation/HVS-item-example-88122-7 + - Observation/HVS-item-example-88123-5 + - Observation/HVS-item-example-88124-3 + - Observation/HVS-panel-example-88121-9 + - Observation/simple-observation-sdoh + - Condition/condition-SDOH-example + - ServiceRequest/foodpantry-referral + - Goal/goal-sdoh-2 + Functional: + name: Functional Status + description: Functional Status Examples + resources: + - Observation/EVS-item-example-68516-4 + - Observation/EVS-item-example-89555-7 + - Observation/EVS-panel-example-89574-8 + - Observation/exercise-per-day + - Observation/exercise-per-week + - Questionnaire/exercise-vital-sign + - QuestionnaireResponse/exercise-vital-sign + Disability: + name: Disability Status + description: Disability Status Examples + resources: + - Observation/simple-observation-disability-status + + Mental: + name: Mental/Cognitive Status + description: Mental/Cognitive Status Examples + resources: + - Questionnaire/phq-9-example + - QuestionnaireResponse/phq-9-example + - Observation/PHQ9-item-example-44250-9 + - Observation/PHQ9-item-example-44251-7 + - Observation/PHQ9-item-example-44252-5 + - Observation/PHQ9-item-example-44253-3 + - Observation/PHQ9-item-example-44254-1 + - Observation/PHQ9-item-example-44255-8 + - Observation/PHQ9-item-example-44258-2 + - Observation/PHQ9-item-example-44259-0 + - Observation/PHQ9-item-example-44260-8 + - Observation/PHQ9-item-example-44261-6 + - Observation/PHQ9-item-example-69722-7 + - Observation/PHQ9-panel-example-44249-1 + - Observation/simple-observation-cognitive-status + + PE: + name: Physical Activity + description: Physical Activity Health Status Assessment Examples + resources: + - Observation/EVS-item-example-68516-4 + - Observation/EVS-item-example-89555-7 + - Observation/EVS-panel-example-89574-8 + - Observation/exercise-per-day + - Observation/exercise-per-week + - Questionnaire/exercise-vital-sign + - QuestionnaireResponse/exercise-vital-sign + Booze: + name: Alcohol Use + description: Alcohol Use Health Status Assessment Examples + resources: + - Observation/alcohol-use-status + - Observation/alcoholic-drinks-per-day + - Observation/AUDIT-C-item-example-68517-2 + - Observation/AUDIT-C-item-example-68519-8 + - Observation/AUDIT-C-item-example-68520-6 + - Observation/AUDIT-C-item-example-75626-2 + - Observation/AUDIT-C-panel-example-72109-2 + - Questionnaire/AUDIT-C + - QuestionnaireResponse/AUDIT-C + Drugs: + name: Substance Use + description: Substance Use Health Status Assessment Examples + resources: + - Observation/substance-use-status + - Observation/TAPS-item-example-75889-6 + - Observation/TAPS-item-example-88037-7 + - Observation/TAPS-item-example-96842-0 + - Observation/TAPS-item-example-96843-8 + - Observation/TAPS-item-example-96844-6 + - Observation/TAPS-panel-example-96841-2 + - Questionnaire/TAPS + - QuestionnaireResponse/TAPS + Labs: + name: Laboratory + description: Laboratory and Specimen Profiles and Examples + resources: + - StructureDefinition/us-core-observation-lab + - StructureDefinition/us-core-specimen + - Observation/serum-glucose + - Specimen/example-serum-hemolyzed + + Facility: + name: Facility Information + description: Location Profiles and Examples + resources: + - StructureDefinition/us-core-location + - Location/hospital + + Medication: + name: Medication + description: Medication Adherence Examples + resources: + - Observation/medication-adherence-oral-axid + - Observation/medication-adherence-oral-axid-boolean + - Observation/medication-adherence-self-tylenol + - StructureDefinition/us-core-medication-adherence + - MedicationRequest/coded-oral-axid-with-compliance + - MedicationRequest/self-tylenol-with-compliance + - StructureDefinition/us-core-medicationstatement + - ValueSet/uscore-medicationstatement-status + - MedicationStatement/coded-oral-axid-with-compliance + - MedicationStatement/self-tylenol-with-compliance + + Preferences: + name: Goals and Preferences + description: Goals and Preferences Profiles and Examples + resources: + - StructureDefinition/us-core-care-experience-preference + - ValueSet/uscore-care-experience-preference + - Observation/care-experience-preference + - StructureDefinition/us-core-treatment-intervention-preference + - ValueSet/uscore-treatment-intervention-preference + - CodeSystem/uscore-treatment-intervention-preference + - Observation/intervention-preference diff --git a/input/data/valueset-ref-all-list.csv b/input/data/valueset-ref-all-list.csv new file mode 100644 index 00000000..38043275 --- /dev/null +++ b/input/data/valueset-ref-all-list.csv @@ -0,0 +1,13 @@ +URL,Version,Status,OIDs,Name,Title,Descriptino,Uses,Used,Sources +http://hl7.org/fhir/ValueSet/body-site,4.0.1,draft,"2.16.840.1.113883.4.642.3.141",SNOMEDCTBodyStructures,SNOMED CT Body Structures,"This value set includes all codes from [SNOMED CT](http://snomed.info/sct) where concept is-a 442083009 (Anatomical or acquired body site (body structure)).","StructureDefinition/us-core-average-blood-pressure","SCT" +http://hl7.org/fhir/ValueSet/data-absent-reason,4.0.1,active,"2.16.840.1.113883.4.642.3.5",DataAbsentReason,DataAbsentReason,"Used to specify why the normally expected content of the data element is missing.","StructureDefinition/us-core-average-blood-pressure","THO" +http://hl7.org/fhir/ValueSet/languages,4.0.1,draft,"2.16.840.1.113883.4.642.3.20",CommonLanguages,Common Languages,"This value set includes common codes from BCP-47 (http://tools.ietf.org/html/bcp47)","StructureDefinition/us-core-average-blood-pressure","hl7.terminology.r4" +http://hl7.org/fhir/ValueSet/observation-category,4.0.1,draft,"2.16.840.1.113883.4.642.3.403",ObservationCategoryCodes,Observation Category Codes,"Observation Category codes.","StructureDefinition/us-core-average-blood-pressure","THO" +http://hl7.org/fhir/ValueSet/observation-interpretation,4.0.1,active,"2.16.840.1.113883.4.642.3.399",ObservationInterpretationCodes,Observation Interpretation Codes,"A categorical assessment, providing a rough qualitative interpretation of the observation value, such as “normal”/ “abnormal”,”low” / “high”, “better” / “worse”, “susceptible” / “resistant”, “expected”/ “not expected”. The value set is intended to be for ANY use where coded representation of an interpretation is needed. Notes: This is being communicated in v2.x in OBX-8 (Observation Interpretation), in v3 in ObservationInterpretation (CWE) in R1 (Representative Realm) and in FHIR in Observation.interpretation. Historically these values come from the laboratory domain, and these codes are extensively used. The value set binding is extensible, so codes outside the value set that are needed for interpretation concepts (i.e. particular meanings) that are not included in the value set can be used, and these new codes may also be added to the value set and published in a future version.","StructureDefinition/us-core-average-blood-pressure","THO (V3)" +http://hl7.org/fhir/ValueSet/observation-methods,4.0.1,draft,"2.16.840.1.113883.4.642.3.395",ObservationMethods,Observation Methods,"Observation Method codes from [SNOMED CT](http://snomed.info/sct) where concept is-a 272394005 (Technique (qualifier value)) or is-a 129264002 (Action (qualifier value)) or is-a 386053000 (Evaluation procedure(procedure))","StructureDefinition/us-core-average-blood-pressure","SCT" +http://hl7.org/fhir/ValueSet/observation-status,4.0.1,active,"2.16.840.1.113883.4.642.3.400",ObservationStatus,ObservationStatus,"Codes providing the status of an observation.","StructureDefinition/us-core-average-blood-pressure","hl7.fhir.r4.core" +http://hl7.org/fhir/ValueSet/quantity-comparator,4.0.1,active,"2.16.840.1.113883.4.642.3.59",QuantityComparator,QuantityComparator,"How the Quantity should be understood and represented.","StructureDefinition/us-core-average-blood-pressure","hl7.fhir.r4.core" +http://hl7.org/fhir/ValueSet/referencerange-appliesto,4.0.1,draft,"2.16.840.1.113883.4.642.3.407",ObservationReferenceRangeAppliesToCodes,Observation Reference Range Applies To Codes,"This value set defines a set of codes that can be used to indicate the particular target population the reference range applies to.","StructureDefinition/us-core-average-blood-pressure","SCT" +http://hl7.org/fhir/ValueSet/referencerange-meaning,4.0.1,draft,"2.16.840.1.113883.4.642.3.397",ObservationReferenceRangeMeaningCodes,Observation Reference Range Meaning Codes,"This value set defines a set of codes that can be used to indicate the meaning/use of a reference range for a particular target population.","StructureDefinition/us-core-average-blood-pressure","THO" +http://hl7.org/fhir/ValueSet/ucum-vitals-common,4.0.1,draft,"2.16.840.1.113883.4.642.3.955",VitalSignsUnits,Vital Signs Units,"Common UCUM units for recording Vital Signs","StructureDefinition/us-core-average-blood-pressure","UCUM" +http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs,6.1.0,active,,UsCoreVitalSigns,US Core Vital Signs ValueSet,"The vital sign codes from the base FHIR and US Core Vital Signs.","StructureDefinition/us-core-average-blood-pressure","LOINC" diff --git a/input/examples-yaml/MedicationRequest-coded-oral-axid-with-compliance.yml b/input/examples-yaml/MedicationRequest-coded-oral-axid-with-compliance.yml deleted file mode 100644 index ff8f1b63..00000000 --- a/input/examples-yaml/MedicationRequest-coded-oral-axid-with-compliance.yml +++ /dev/null @@ -1,81 +0,0 @@ -resourceType: MedicationRequest -id: coded-oral-axid-with-compliance -meta: - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: MedicationRequest Coded Oral Axid with Compliance Extension Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This example demonstrates medication adherence for a prescribed medication example using an extension on the MedicationRequest. The extension value uses SNOMED CT. - -# === proposed extension === -extension: - - extension: - - url: medAdherence - valueCodeableConcept: - coding: - - system: http://hl7.org/fhir/CodeSystem/medication-statement-adherence - code: taking-not-as-directed - display: Taking Not As Directed - - - url: timeStamp - valueDateTime: '2023-08-11T08:15:49.449Z' - - - url: reporter - valueReference: - reference: http://www.hl7.org/fhir/us/core/Patient/example - display: Amy Shaw - url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationrequest-compliance-extension - -# === end proposed extension === - -status: active -intent: order -medicationCodeableConcept: - coding: - - system: http://www.nlm.nih.gov/research/umls/rxnorm - code: '476872' - display: Nizatidine 15 MG/ML Oral Solution - text: Nizatidine 15 MG/ML Oral Solution -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example - display: Amy Shaw -authoredOn: '2008-04-05' -requester: - reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 - display: Ronald Bone, MD -dosageInstruction: -- text: 10 mL bid - timing: - repeat: - frequency: 2 - period: 1 - periodUnit: d - boundsPeriod: - start: '2008-04-05' - doseAndRate: - - doseQuantity: - value: 10 - unit: ml - system: http://unitsofmeasure.org - code: mL -dispenseRequest: - numberOfRepeatsAllowed: 1 - quantity: - value: 480 - unit: mL - system: http://unitsofmeasure.org - code: mL - expectedSupplyDuration: - value: 30 - unit: days - system: http://unitsofmeasure.org - code: d -reasonCode: -- coding: - - system: http://snomed.info/sct - code: '51868009' - display: Ulcer of duodenum (disorder) - version: http://snomed.info/sct/731000124108 - text: Active Duodenal Ulcer diff --git a/input/examples-yaml/MedicationStatement-coded-oral-axid-with-compliance.yml b/input/examples-yaml/MedicationStatement-coded-oral-axid-with-compliance.yml deleted file mode 100644 index 7940c390..00000000 --- a/input/examples-yaml/MedicationStatement-coded-oral-axid-with-compliance.yml +++ /dev/null @@ -1,62 +0,0 @@ -resourceType: MedicationStatement -id: coded-oral-axid-with-compliance -meta: - profile: - # - http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationstatement - - http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationstatement - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: MedicationStatement Coded Oral Axid with Adherence Extension Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This example demonstrates medication adherence for a prescribed medication example using an R5 element extension on the MedicationStatement. The extension value uses MedicationStatement Adherence Codes. - -# === proposed R5 extension === -extension: - - extension: - - url: code - valueCodeableConcept: - coding: - - system: http://hl7.org/fhir/CodeSystem/medication-statement-adherence - code: taking-not-as-directed - display: Taking Not As Directed - url: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationUsage.adherence - -# === end proposed R5 extension === - -status: active -# intent: order -medicationCodeableConcept: - coding: - - system: http://www.nlm.nih.gov/research/umls/rxnorm - code: '476872' - display: Nizatidine 15 MG/ML Oral Solution - text: Nizatidine 15 MG/ML Oral Solution -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example - display: Amy Shaw -effectiveDateTime: '2008-04-05' -informationSource: - reference: http://www.hl7.org/fhir/us/core/Patient/example - display: Amy Shaw -dosage: -- text: 10 mL bid - timing: - repeat: - frequency: 2 - period: 1 - periodUnit: d - boundsPeriod: - start: '2008-04-05' - doseAndRate: - - doseQuantity: - value: 10 - unit: ml - system: http://unitsofmeasure.org - code: mL -reasonCode: -- coding: - - system: http://snomed.info/sct - code: '51868009' - display: Ulcer of duodenum (disorder) - version: http://snomed.info/sct/731000124108 - text: Active Duodenal Ulcer diff --git a/input/examples-yaml/Observation-AUDIT-C-item-example-68517-2.yml b/input/examples-yaml/Observation-AUDIT-C-item-example-68517-2.yml deleted file mode 100644 index 882e76d3..00000000 --- a/input/examples-yaml/Observation-AUDIT-C-item-example-68517-2.yml +++ /dev/null @@ -1,41 +0,0 @@ -resourceType: Observation -id: AUDIT-C-item-example-68517-2 -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Audit-C Item Example 68517-2 - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a Audit-C Item Example 68517-2 (How many times in the past - year have you have X or more drinks in a day?) for the *US Core Observation - Screening Assessment Profile* - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment -status: final -category: -- coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: survey - display: Survey -code: - coding: - - system: http://loinc.org - code: 68517-2 - display: How many times in the past year have you have X or more drinks in a day? - text: How many times in the past year have you have X or more drinks in a day? -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example -effectiveDateTime: 2023-08-14T20:40:49.675000+00:00 -performer: -- reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 -valueQuantity: - value: 0.0 - unit: '# per year' - system: http://unitsofmeasure.org - code: '{#}/a' -note: -- text: Where X is 5 for men and 4 for women, and a response of greater than, or - equal to, 1 is positive. -derivedFrom: -- reference: QuestionnaireResponse/AUDIT-C - display: Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse - Example diff --git a/input/examples-yaml/Observation-AUDIT-C-item-example-68519-8.yml b/input/examples-yaml/Observation-AUDIT-C-item-example-68519-8.yml deleted file mode 100644 index d9ab6523..00000000 --- a/input/examples-yaml/Observation-AUDIT-C-item-example-68519-8.yml +++ /dev/null @@ -1,40 +0,0 @@ -resourceType: Observation -id: AUDIT-C-item-example-68519-8 -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Audit-C Item Example 68519-8 - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a Audit-C Item Example 68519-8 (How many standard drinks - containing alcohol do you have on a typical day?) for the *US Core Observation - Screening Assessment Profile* - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment -status: final -category: -- coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: survey - display: Survey -code: - coding: - - system: http://loinc.org - code: 68519-8 - display: How many standard drinks containing alcohol do you have on a typical - day? - text: How many standard drinks containing alcohol do you have on a typical day? -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example -effectiveDateTime: 2023-08-14T20:40:49.675000+00:00 -performer: -- reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 -valueCodeableConcept: - coding: - - system: http://loinc.org - code: LA15694-5 - display: 1 or 2 - text: 1 or 2 -derivedFrom: -- reference: QuestionnaireResponse/AUDIT-C - display: Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse - Example diff --git a/input/examples-yaml/Observation-AUDIT-C-item-example-68520-6.yml b/input/examples-yaml/Observation-AUDIT-C-item-example-68520-6.yml deleted file mode 100644 index d680d5d1..00000000 --- a/input/examples-yaml/Observation-AUDIT-C-item-example-68520-6.yml +++ /dev/null @@ -1,39 +0,0 @@ -resourceType: Observation -id: AUDIT-C-item-example-68520-6 -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Audit-C Item Example 68520-6 - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a Audit-C Item Example 68520-6 (How often do you have 6 - or more drinks on 1 occasion?) for the *US Core Observation Screening Assessment - Profile* - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment -status: final -category: -- coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: survey - display: Survey -code: - coding: - - system: http://loinc.org - code: 68520-6 - display: How often do you have 6 or more drinks on 1 occasion? - text: How often do you have 6 or more drinks on 1 occasion? -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example -effectiveDateTime: 2023-08-14T20:40:49.675000+00:00 -performer: -- reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 -valueCodeableConcept: - coding: - - system: http://loinc.org - code: LA6270-8 - display: Never - text: Never -derivedFrom: -- reference: QuestionnaireResponse/AUDIT-C - display: Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse - Example diff --git a/input/examples-yaml/Observation-AUDIT-C-item-example-75626-2.yml b/input/examples-yaml/Observation-AUDIT-C-item-example-75626-2.yml deleted file mode 100644 index 32741d71..00000000 --- a/input/examples-yaml/Observation-AUDIT-C-item-example-75626-2.yml +++ /dev/null @@ -1,45 +0,0 @@ -resourceType: Observation -id: AUDIT-C-item-example-75626-2 -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Audit-C Item Example 75626-2 - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a Audit-C Item Example 75626-2 (Total score [AUDIT-C]) - for the *US Core Observation Screening Assessment Profile* - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment -status: final -category: -- coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: survey - display: Survey -code: - coding: - - system: http://loinc.org - code: 75626-2 - display: Total score [AUDIT-C] - text: Total score [AUDIT-C] -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example -effectiveDateTime: 2023-08-14T20:40:49.675000+00:00 -performer: -- reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 -valueQuantity: - value: 0.0 - unit: score - system: http://unitsofmeasure.org - code: '{score}' -note: -- text: 'The Alcohol Use Disorders Identification Test C (AUDIT-C) is scored on a - scale of 0-12 where the higher the score, the more likely the patient''s drinking - is hazardous. A score of 4 or more for men and 3 or more for women is considered - positive for hazardous drinking or active alcohol use disorders. If the points - are all from Question 1 alone where 2 and 3 are 0, it is likely the patient is - drinking below recommended limits. The care provider may review the patients alcohol - intake over that past few months to confirm accuracy. [PMID: 12695273]' -derivedFrom: -- reference: QuestionnaireResponse/AUDIT-C - display: Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse - Example diff --git a/input/examples-yaml/Observation-AUDIT-C-panel-example-72109-2.yml b/input/examples-yaml/Observation-AUDIT-C-panel-example-72109-2.yml deleted file mode 100644 index 969b2d7a..00000000 --- a/input/examples-yaml/Observation-AUDIT-C-panel-example-72109-2.yml +++ /dev/null @@ -1,38 +0,0 @@ -resourceType: Observation -id: AUDIT-C-panel-example-72109-2 -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Audit-C Panel Example 72109-2 - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a Audit-C Panel Example 72109-2 (Alcohol Use Disorder Identification - Test - Consumption [AUDIT-C]) for the *US Core Observation Screening Assessment - Profile* - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment -status: final -category: -- coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: survey - display: Survey -code: - coding: - - system: http://loinc.org - code: 72109-2 - display: Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] - text: Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example -effectiveDateTime: 2023-08-14T20:40:49.675000+00:00 -performer: -- reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 -hasMember: -- reference: Observation/AUDIT-C-item-example-68517-2 -- reference: Observation/AUDIT-C-item-example-68519-8 -- reference: Observation/AUDIT-C-item-example-68520-6 -- reference: Observation/AUDIT-C-item-example-75626-2 -derivedFrom: -- reference: QuestionnaireResponse/AUDIT-C - display: Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse - Example diff --git a/input/examples-yaml/Observation-EVS-item-example-68516-4.yml b/input/examples-yaml/Observation-EVS-item-example-68516-4.yml deleted file mode 100644 index aec56093..00000000 --- a/input/examples-yaml/Observation-EVS-item-example-68516-4.yml +++ /dev/null @@ -1,35 +0,0 @@ -resourceType: Observation -id: EVS-item-example-68516-4 -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Evs Item Example 68516-4 - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a Evs Item Example 68516-4 (On those days that you engage - in moderate to strenuous exercise, how many minutes, on average, do you exercise?) - for the *US Core Observation Screening Assessment Profile* - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment -status: final -category: -- coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: survey - display: Survey -code: - coding: - - system: http://loinc.org - code: 68516-4 - display: On those days that you engage in moderate to strenuous exercise, how - many minutes, on average, do you exercise? - text: On those days that you engage in moderate to strenuous exercise, how many - minutes, on average, do you exercise? -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example -effectiveDateTime: 2023-08-04T03:52:52.685000+00:00 -performer: -- reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 -valueString: '60' -derivedFrom: -- reference: QuestionnaireResponse/exercise-vital-sign - display: Exercise Vital Sign QuestionnaireResponse Example diff --git a/input/examples-yaml/Observation-EVS-item-example-89555-7.yml b/input/examples-yaml/Observation-EVS-item-example-89555-7.yml deleted file mode 100644 index 8855ea29..00000000 --- a/input/examples-yaml/Observation-EVS-item-example-89555-7.yml +++ /dev/null @@ -1,33 +0,0 @@ -resourceType: Observation -id: EVS-item-example-89555-7 -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Evs Item Example 89555-7 - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a Evs Item Example 89555-7 (How many D per W did you engage - in moderate to strenuous physical activity in the last 30D) for the *US Core - Observation Screening Assessment Profile* - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment -status: final -category: -- coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: survey - display: Survey -code: - coding: - - system: http://loinc.org - code: 89555-7 - display: How many days per week did you engage in moderate to strenuous physical activity in the last 30 days - text: How many days per week did you engage in moderate to strenuous physical activity in the last 30 days -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example -effectiveDateTime: 2023-08-04T03:52:52.685000+00:00 -performer: -- reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 -valueString: '3' -derivedFrom: -- reference: QuestionnaireResponse/exercise-vital-sign - display: Exercise Vital Sign QuestionnaireResponse Example diff --git a/input/examples-yaml/Observation-EVS-panel-example-89574-8.yml b/input/examples-yaml/Observation-EVS-panel-example-89574-8.yml deleted file mode 100644 index 2bf68164..00000000 --- a/input/examples-yaml/Observation-EVS-panel-example-89574-8.yml +++ /dev/null @@ -1,35 +0,0 @@ -resourceType: Observation -id: EVS-panel-example-89574-8 -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Evs Panel Example 89574-8 - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a Evs Panel Example 89574-8 (Exercise Vital Sign (EVS)) - for the *US Core Observation Screening Assessment Profile* - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment -status: final -category: -- coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: survey - display: Survey -code: - coding: - - system: http://loinc.org - code: 89574-8 - display: Exercise Vital Sign (EVS) - text: Exercise Vital Sign (EVS) -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example -effectiveDateTime: 2023-08-04T03:52:52.685000+00:00 -performer: -- reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 - -hasMember: -- reference: Observation/EVS-item-example-89555-7 -- reference: Observation/EVS-item-example-68516-4 -derivedFrom: -- reference: QuestionnaireResponse/exercise-vital-sign - display: Exercise Vital Sign QuestionnaireResponse Example diff --git a/input/examples-yaml/Observation-TAPS-item-example-75889-6.yml b/input/examples-yaml/Observation-TAPS-item-example-75889-6.yml deleted file mode 100644 index e7274f94..00000000 --- a/input/examples-yaml/Observation-TAPS-item-example-75889-6.yml +++ /dev/null @@ -1,49 +0,0 @@ -resourceType: Observation -id: TAPS-item-example-75889-6 -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Taps Item Example 75889-6 - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a Taps Item Example 75889-6 (How often have you had four - or more drinks in one day during the past year [Reported]) for the *US Core - Observation Screening Assessment Profile* - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment -status: final -category: -- coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: survey - display: Survey -code: - coding: - - system: http://loinc.org - code: 75889-6 - display: How often have you had four or more drinks in one day during the past - year [Reported] - text: How often have you had four or more drinks in one day during the past year - [Reported] -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example -effectiveDateTime: 2023-08-14T20:40:49.675000+00:00 -performer: -- reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 -valueCodeableConcept: - coding: - - system: http://loinc.org - code: LA6270-8 - display: Never - text: Never -note: -- text: 'A question asked to determine if the patient is considered a ''risky drinker''. - This term was created for, but not limited in use to, an electronic Clinical Quality - Measure (eCQM) to be used in the CMS EHR Incentive Program for Meaningful Use. - The eCQM allows for multiple ways to screen for alcohol misuse, including AUDIT-C - [LOINC: 75626-2] or one of two questions that assess whether the patient consumes - alcohol [LOINC: 75855-7] and the frequency of heavy drinking days (this LOINC). - The LOINC for five (5) or more drinks per day is [LOINC: 88037-7].' -derivedFrom: -- reference: QuestionnaireResponse/TAPS - display: Tobacco, Alcohol, Prescription medications, and other Substance use screen - [TAPS] QuestionnaireResponse Example diff --git a/input/examples-yaml/Observation-TAPS-item-example-88037-7.yml b/input/examples-yaml/Observation-TAPS-item-example-88037-7.yml deleted file mode 100644 index 415b5b82..00000000 --- a/input/examples-yaml/Observation-TAPS-item-example-88037-7.yml +++ /dev/null @@ -1,46 +0,0 @@ -resourceType: Observation -id: TAPS-item-example-88037-7 -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Taps Item Example 88037-7 - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a Taps Item Example 88037-7 (How often have you had five - or more drinks in one day during the past year [Reported]) for the *US Core - Observation Screening Assessment Profile* - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment -status: final -category: -- coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: survey - display: Survey -code: - coding: - - system: http://loinc.org - code: 88037-7 - display: How often have you had five or more drinks in one day during the past - year [Reported] - text: How often have you had five or more drinks in one day during the past year - [Reported] -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example -effectiveDateTime: 2023-08-14T20:40:49.675000+00:00 -performer: -- reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 -valueCodeableConcept: - coding: - - system: http://loinc.org - code: LA6270-8 - display: Never - text: Never -note: -- text: 'Some measures (like electronic Clinical Quality Measure (eCQM) used by CMS) - define "risky drinker" differently based on gender: 4 or more drinks per day for - women and 5 or more drinks per day for men. The LOINC for 4 or more drinks per - day is [LOINC: 75889-6].' -derivedFrom: -- reference: QuestionnaireResponse/TAPS - display: Tobacco, Alcohol, Prescription medications, and other Substance use screen - [TAPS] QuestionnaireResponse Example diff --git a/input/examples-yaml/Observation-TAPS-item-example-96842-0.yml b/input/examples-yaml/Observation-TAPS-item-example-96842-0.yml deleted file mode 100644 index 836c7e2b..00000000 --- a/input/examples-yaml/Observation-TAPS-item-example-96842-0.yml +++ /dev/null @@ -1,39 +0,0 @@ -resourceType: Observation -id: TAPS-item-example-96842-0 -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Taps Item Example 96842-0 - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a Taps Item Example 96842-0 (How often have you used any - tobacco product in past 12 months) for the *US Core Observation Screening Assessment - Profile* - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment -status: final -category: -- coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: survey - display: Survey -code: - coding: - - system: http://loinc.org - code: 96842-0 - display: How often have you used any tobacco product in past 12 months - text: How often have you used any tobacco product in past 12 months -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example -effectiveDateTime: 2023-08-14T20:40:49.675000+00:00 -performer: -- reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 -valueCodeableConcept: - coding: - - system: http://loinc.org - code: LA6270-8 - display: Never - text: Never -derivedFrom: -- reference: QuestionnaireResponse/TAPS - display: Tobacco, Alcohol, Prescription medications, and other Substance use screen - [TAPS] QuestionnaireResponse Example diff --git a/input/examples-yaml/Observation-TAPS-item-example-96843-8.yml b/input/examples-yaml/Observation-TAPS-item-example-96843-8.yml deleted file mode 100644 index 3cd2f0d2..00000000 --- a/input/examples-yaml/Observation-TAPS-item-example-96843-8.yml +++ /dev/null @@ -1,39 +0,0 @@ -resourceType: Observation -id: TAPS-item-example-96843-8 -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Taps Item Example 96843-8 - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a Taps Item Example 96843-8 (How often have you used illegal - or recreational drugs in past 12 months) for the *US Core Observation Screening - Assessment Profile* - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment -status: final -category: -- coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: survey - display: Survey -code: - coding: - - system: http://loinc.org - code: 96843-8 - display: How often have you used illegal or recreational drugs in past 12 months - text: How often have you used illegal or recreational drugs in past 12 months -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example -effectiveDateTime: 2023-08-14T20:40:49.675000+00:00 -performer: -- reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 -valueCodeableConcept: - coding: - - system: http://loinc.org - code: LA6270-8 - display: Never - text: Never -derivedFrom: -- reference: QuestionnaireResponse/TAPS - display: Tobacco, Alcohol, Prescription medications, and other Substance use screen - [TAPS] QuestionnaireResponse Example diff --git a/input/examples-yaml/Observation-TAPS-item-example-96844-6.yml b/input/examples-yaml/Observation-TAPS-item-example-96844-6.yml deleted file mode 100644 index 2f0df4c0..00000000 --- a/input/examples-yaml/Observation-TAPS-item-example-96844-6.yml +++ /dev/null @@ -1,37 +0,0 @@ -resourceType: Observation -id: TAPS-item-example-96844-6 -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Taps Item Example 96844-6 - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a Taps Item Example 96844-6 (How often have you used any - prescription medications just for the feeling, more than prescribed or that - were not prescribed for you in past 12 months [TAPS]) for the *US Core Observation - Screening Assessment Profile* - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment -status: final -category: -- coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: survey - display: Survey -code: - coding: - - system: http://loinc.org - code: 96844-6 - display: How often have you used any prescription medications just for the feeling, - more than prescribed or that were not prescribed for you in past 12 months [TAPS] - text: How often have you used any prescription medications just for the feeling, - more than prescribed or that were not prescribed for you in past 12 months [TAPS] -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example -effectiveDateTime: 2023-08-14T20:40:49.675000+00:00 -performer: -- reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 -valueString: '0' -derivedFrom: -- reference: QuestionnaireResponse/TAPS - display: Tobacco, Alcohol, Prescription medications, and other Substance use screen - [TAPS] QuestionnaireResponse Example diff --git a/input/examples-yaml/Observation-TAPS-panel-example-96841-2.yml b/input/examples-yaml/Observation-TAPS-panel-example-96841-2.yml deleted file mode 100644 index 678f511d..00000000 --- a/input/examples-yaml/Observation-TAPS-panel-example-96841-2.yml +++ /dev/null @@ -1,41 +0,0 @@ -resourceType: Observation -id: TAPS-panel-example-96841-2 -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Taps Panel Example 96841-2 - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a Taps Panel Example 96841-2 (Tobacco, Alcohol, Prescription - medications, and other Substance use screen [TAPS]) for the *US Core Observation - Screening Assessment Profile* - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment -status: final -category: -- coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: survey - display: Survey -code: - coding: - - system: http://loinc.org - code: 96841-2 - display: Tobacco, Alcohol, Prescription medications, and other Substance use screen - [TAPS] - text: Tobacco, Alcohol, Prescription medications, and other Substance use screen - [TAPS] -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example -effectiveDateTime: 2023-08-14T20:40:49.675000+00:00 -performer: -- reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 -hasMember: -- reference: Observation/TAPS-item-example-96842-0 -- reference: Observation/TAPS-item-example-88037-7 -- reference: Observation/TAPS-item-example-75889-6 -- reference: Observation/TAPS-item-example-96843-8 -- reference: Observation/TAPS-item-example-96844-6 -derivedFrom: -- reference: QuestionnaireResponse/TAPS - display: Tobacco, Alcohol, Prescription medications, and other Substance use screen - [TAPS] QuestionnaireResponse Example diff --git a/input/examples-yaml/Observation-alcohol-use-status.yml b/input/examples-yaml/Observation-alcohol-use-status.yml deleted file mode 100644 index 26b02251..00000000 --- a/input/examples-yaml/Observation-alcohol-use-status.yml +++ /dev/null @@ -1,43 +0,0 @@ -resourceType: Observation -id: alcohol-use-status -meta: - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation - # - http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-evs-min-per-day - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Alcohol Use Status Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: 'This is an alcohol-use-status example for the *Simple Observation Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Simple Observations.' - -category: - - coding: - - system: 'http://terminology.hl7.org/CodeSystem/observation-category' - code: social-history - display: Social History - text: Social History -code: - coding: - - system: 'http://loinc.org' - code: '11331-6' - display: History of Alcohol use - text: Alcohol use status - -subject: - display: Amy Shaw - reference: http://www.hl7.org/fhir/us/core/Patient/example - -effectiveDateTime: '2023-08-03' - -performer: - - display: Amy Shaw - reference: http://www.hl7.org/fhir/us/core/Patient/example - -valueCodeableConcept: - coding: - - system: 'http://snomed.info/sct' - code: '228276006' - display: Occasional drinker - text: other choices - non-drinker, former drinker, current drinker - -status: final \ No newline at end of file diff --git a/input/examples-yaml/Observation-alcoholic-drinks-per-day.yml b/input/examples-yaml/Observation-alcoholic-drinks-per-day.yml deleted file mode 100644 index 135e3242..00000000 --- a/input/examples-yaml/Observation-alcoholic-drinks-per-day.yml +++ /dev/null @@ -1,42 +0,0 @@ -resourceType: Observation -id: alcoholic-drinks-per-day -meta: - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation - # - http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-evs-min-per-day - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Alcoholic Drinks Per Day Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: 'This is an Alcoholic Drinks Per Day example for the *Simple Observation Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Simple Observations.' - -category: - - coding: - - system: 'http://terminology.hl7.org/CodeSystem/observation-category' - code: social-history - display: Social History - text: Social History -code: - coding: - - system: 'http://loinc.org' - code: '74013-4' - display: Alcoholic drinks per day - text: Alcoholic drinks per day - -subject: - display: Amy Shaw - reference: http://www.hl7.org/fhir/us/core/Patient/example - -effectiveDateTime: '2023-08-03' - -performer: - - display: Amy Shaw - reference: http://www.hl7.org/fhir/us/core/Patient/example - -valueQuantity: - value: 0.0 - unit: '# per day' - # system: http://unitsofmeasure.org - # code: '{#}/d' - -status: final \ No newline at end of file diff --git a/input/examples-yaml/Observation-average-blood-pressure.yml b/input/examples-yaml/Observation-average-blood-pressure.yml index 04079fd9..572fbd3d 100644 --- a/input/examples-yaml/Observation-average-blood-pressure.yml +++ b/input/examples-yaml/Observation-average-blood-pressure.yml @@ -59,6 +59,10 @@ code: - system: 'http://loinc.org' code: 96607-7 display: Blood pressure panel mean systolic and mean diastolic + - system: 'http://loinc.org' + code: 85354-9 + display: Blood pressure panel with all children optional + subject: display: Amy Shaw @@ -95,6 +99,9 @@ component: - system: 'http://loinc.org' code: 96608-5 display: Systolic blood pressure mean + - system: 'http://loinc.org' + code: 8480-6 + display: Systolic blood pressure valueQuantity: value: 109 unit: 'mm[Hg]' @@ -106,6 +113,9 @@ component: - system: 'http://loinc.org' code: 96609-3 display: Diastolic blood pressure mean + - system: 'http://loinc.org' + code: 8462-4 + display: Diastolic blood pressure valueQuantity: value: 44 unit: 'mm[Hg]' diff --git a/input/examples-yaml/Observation-care-experience-preference.yml b/input/examples-yaml/Observation-care-experience-preference.yml deleted file mode 100644 index 2bd06861..00000000 --- a/input/examples-yaml/Observation-care-experience-preference.yml +++ /dev/null @@ -1,51 +0,0 @@ -resourceType: Observation -id: care-experience-preference -meta: - profile: - - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference - # http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-care-experience-preference - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Care Experience Preference Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: >- - This is an care experience preference example for the *Care Experience - Profile*. It is based on the *US Core Simple Observation Profile*. -# text: -# status: additional -# div: >- -#

My likes / joys: Here -# are some examples of the things that I would like to have near me, music -# that I'd like to hear, and other details of my care that would help to keep -# me happy and relaxed:

Like Bach, especially the cantatas. St. -# Martin in the Fields

-status: final -category: - - coding: - - system: 'http://hl7.org/fhir/us/core/CodeSystem/us-core-category' - code: care-experience-preference - display: Care experience preference - text: Care Experience Preference -code: - coding: - - system: 'http://loinc.org' - code: 95541-9 - display: Care experience preference - text: Care Experience Preference -subject: - display: Amy Shaw - reference: Patient/example -effectiveDateTime: '2023-08-30' -valueString: >- - For critical or end-of-life care, here are some examples of the things that I would like to have near me, music - that I’d like to hear, and other details of my care that would help to keep me - happy and relaxed: Like Bach, especially the cantatas. St. Martin in the - Fields -derivedFrom: - - display: >- - Patient's hand written document (e.g., letter, note) or form technically a DocumentReference of an image of the document - reference: http://example.org/fhir/DocumentReference/source_document -# note: -# - text: >- -# for critical or end-of-life care diff --git a/input/examples-yaml/Observation-exercise-per-day.yml b/input/examples-yaml/Observation-exercise-per-day.yml deleted file mode 100644 index 95eee5bc..00000000 --- a/input/examples-yaml/Observation-exercise-per-day.yml +++ /dev/null @@ -1,48 +0,0 @@ -resourceType: Observation -id: exercise-per-day -meta: - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation - # - http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-evs-min-per-day - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Exercise Per Day Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: 'This is an minutes exercise per day example for the *Simple Observation Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Simple Observations.' - -status: final -category: - - coding: - - system: 'http://terminology.hl7.org/CodeSystem/observation-category' - code: social-history - display: Social History - text: Social History - - - coding: - - system: 'http://terminology.hl7.org/CodeSystem/observation-category' - code: activity - display: Activity - text: Physical Activity - -code: - coding: - - system: 'http://loinc.org' - code: 68516-4 - display: On those days that you engage in moderate to strenuous exercise, how many minutes, on average, do you exercise - text: Exercise Minutes Per Day - -subject: - display: Amy Shaw - reference: http://www.hl7.org/fhir/us/core/Patient/example - -effectiveDateTime: '2023-08-03' - -performer: - - display: Amy Shaw - reference: http://www.hl7.org/fhir/us/core/Patient/example - -valueQuantity: - value: 60 - unit: minutes per day - system: 'http://unitsofmeasure.org' - code: min/d diff --git a/input/examples-yaml/Observation-exercise-per-week.yml b/input/examples-yaml/Observation-exercise-per-week.yml deleted file mode 100644 index 91bc53c1..00000000 --- a/input/examples-yaml/Observation-exercise-per-week.yml +++ /dev/null @@ -1,49 +0,0 @@ -resourceType: Observation -id: exercise-per-week - -meta: - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation - # - http://hl7.org/fhir/us/physical-activity/StructureDefinition/pa-observation-evs-days-per-week - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Exercise Per Week Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: 'This is a days exercise per week example for the *Simple Observation Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Simple Observations.' - -status: final -category: - - coding: - - system: 'http://terminology.hl7.org/CodeSystem/observation-category' - code: social-history - display: Social History - text: Social History - - - coding: - - system: 'http://terminology.hl7.org/CodeSystem/observation-category' - code: activity - display: Activity - text: Physical Activity - -code: - coding: - - system: 'http://loinc.org' - code: 89555-7 - display: How many days per week did you engage in moderate to strenuous physical activity in the last 30 days - text: Exercise Days Per Week - -subject: - display: Amy Shaw - reference: http://www.hl7.org/fhir/us/core/Patient/example - -effectiveDateTime: '2023-08-03' - -performer: - - display: Amy Shaw - reference: http://www.hl7.org/fhir/us/core/Patient/example - -valueQuantity: - value: 3 - unit: days per week - system: 'http://unitsofmeasure.org' - code: d/wk \ No newline at end of file diff --git a/input/examples-yaml/Observation-intervention-preference.yml b/input/examples-yaml/Observation-intervention-preference.yml deleted file mode 100644 index 46d38331..00000000 --- a/input/examples-yaml/Observation-intervention-preference.yml +++ /dev/null @@ -1,61 +0,0 @@ -resourceType: Observation -id: intervention-preference -meta: - profile: - - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference - # http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-treatment-intervention-preference - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Treatment Intervention Preference Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: >- - This is an intervention preference example for the *Treatment Intervention - Profile*. It is based on the *US Core Simple Observation Profile*. -# text: -# status: additional -# div: >- -#

If I am having significant pain -# or suffering, I would like my doctors to consult a Supportive and -# Palliative Care Team to help treat my physical, emotional and spiritual -# discomfort, and to support my family.

- -status: final -category: - - coding: - - system: 'http://hl7.org/fhir/us/core/CodeSystem/us-core-category' - code: treatment-intervention-preference - display: Treatment Intervention preference - text: Treatment Intervention Preference -code: - coding: - - - system: 'http://hl7.org/fhir/us/core/CodeSystem/us-core-category' - - code: intervention-preference - display: Intervention Preference - text: Treatment Intervention Preference - - # - system: 'http://loinc.org' - # code: 75776-5 - # display: >- - # Preference on consulting a supportive and palliative care team to help - # treat physical, emotional, and spiritual discomfort and support family - # [Reported] - - -subject: - display: Amy Shaw - reference: http://www.hl7.org/fhir/us/core/Patient/example -effectiveDateTime: '2023-08-30' -valueString: >- - If I am having significant pain or suffering, I would like my doctors to - consult a Supportive and Palliative Care Team to help treat my physical, - emotional and spiritual discomfort, and to support my family. -derivedFrom: - - display: >- - Patient's hand written document (e.g., letter, note) or form - technically a DocumentReference of an image of the document - reference: http://example.org/fhir/DocumentReference/source_document -# note: -# - text: >- -# for critical or end-of-life care \ No newline at end of file diff --git a/input/examples-yaml/Observation-medication-adherence-oral-axid-boolean.yml b/input/examples-yaml/Observation-medication-adherence-oral-axid-boolean.yml deleted file mode 100644 index 4978dc76..00000000 --- a/input/examples-yaml/Observation-medication-adherence-oral-axid-boolean.yml +++ /dev/null @@ -1,33 +0,0 @@ -resourceType: Observation -id: medication-adherence-oral-axid-boolean -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Observation Medication Adherence Oral Axid (Prescribed) Using Boolean Code Value Pair Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a medication adherance for a prescribed medication example using Observation. The code uses LOINC with an Ordinal scale and value use boolean values and the MedicationRequest is reference using the basedOn element. - profile: - - 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation' -basedOn: - - reference: http://www.hl7.org/fhir/us/core/MedicationRequest/medicationrequest-coded-oral-axid - display: Oral Axid -status: final -category: - - coding: - - system: 'http://terminology.hl7.org/CodeSystem/observation-category' - code: survey - display: Survey -code: - coding: - - system: http://loinc.org - code: '71799-1' - display: Adherence to prescribed medication instructions [Reported] -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example - display: Amy Shaw -effectiveDateTime: '2023-08-11T06:14:22.931Z' -performer: - - reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 -valueBoolean: true - - diff --git a/input/examples-yaml/Observation-medication-adherence-oral-axid.yml b/input/examples-yaml/Observation-medication-adherence-oral-axid.yml deleted file mode 100644 index 6c5a9840..00000000 --- a/input/examples-yaml/Observation-medication-adherence-oral-axid.yml +++ /dev/null @@ -1,39 +0,0 @@ -resourceType: Observation -id: medication-adherence-oral-axid -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Observation Medication Adherence Oral Axid (Prescribed) Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a medication adherance for a prescribed medication example using Observation. Both the code and value use SNOMED CT and the MedicationRequest is reference using the basedOn element. - profile: - - 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation' -basedOn: - - reference: http://www.hl7.org/fhir/us/core/MedicationRequest/medicationrequest-coded-oral-axid - display: Oral Axid -status: final -category: - - coding: - - system: 'http://terminology.hl7.org/CodeSystem/observation-category' - code: survey - display: Survey -code: - coding: - - system: 'http://snomed.info/sct' - version: 'http://snomed.info/sct/731000124108' - code: '418633004' - display: Medication adherence -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example - display: Amy Shaw -effectiveDateTime: '2023-08-11T06:14:22.931Z' -performer: - - reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 -valueCodeableConcept: - coding: - - system: 'http://snomed.info/sct' - version: 'http://snomed.info/sct/731000124108' - code: '129019007' - display: Taking medication - - diff --git a/input/examples-yaml/Observation-medication-adherence-self-tylenol.yml b/input/examples-yaml/Observation-medication-adherence-self-tylenol.yml deleted file mode 100644 index 7b41a2a8..00000000 --- a/input/examples-yaml/Observation-medication-adherence-self-tylenol.yml +++ /dev/null @@ -1,37 +0,0 @@ -resourceType: Observation -id: medication-adherence-self-tylenol -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Observation Medication Adherence Self Tylenol (OTC) Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a medication adherance for a self-prescribed OTC medication example using Observation. Both the code and value use SNOMED CT and the MedicationRequest is reference using the basedOn element. - profile: - - 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation' -basedOn: - - reference: http://www.hl7.org/fhir/us/core/MedicationRequest/self-tylenol - display: Self Prescribed Tylenol -status: final -category: - - coding: - - system: 'http://terminology.hl7.org/CodeSystem/observation-category' - code: survey - display: Survey -code: - coding: - - system: 'http://snomed.info/sct' - version: 'http://snomed.info/sct/731000124108' - code: '418633004' - display: Medication adherence -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example - display: Amy Shaw -effectiveDateTime: '2023-08-11T06:14:22.931Z' -performer: - - reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 -valueCodeableConcept: - coding: - - system: 'http://snomed.info/sct' - version: 'http://snomed.info/sct/731000124108' - code: '266710000' - display: Drugs not taken/completed \ No newline at end of file diff --git a/input/examples-yaml/Observation-serum-glucose.yml b/input/examples-yaml/Observation-serum-glucose.yml deleted file mode 100644 index f6a4a22e..00000000 --- a/input/examples-yaml/Observation-serum-glucose.yml +++ /dev/null @@ -1,61 +0,0 @@ -category: -- coding: - - code: laboratory - display: Laboratory - system: http://terminology.hl7.org/CodeSystem/observation-category - text: Laboratory -code: - coding: - - code: 2345-7 - display: Glucose SerPl-mCnc - system: http://loinc.org - text: Glucose SerPl-mCnc -effectiveDateTime: '2023-08-04' -id: serum-glucose -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Serum Glucose Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a serum glucose example for the *US Core Observation Lab - Profile*. - profile: - - http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-observation-lab - # - http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab - versionId: '1165' -referenceRange: -- high: - code: mg/dL - system: http://unitsofmeasure.org - unit: mg/dL - value: 109.0 - low: - code: mg/dL - system: http://unitsofmeasure.org - unit: mg/dL - value: 40.0 - type: - coding: - - code: normal - display: Normal Range - system: http://terminology.hl7.org/CodeSystem/referencerange-meaning - text: Normal Range -resourceType: Observation -status: final -subject: - display: Amy Shaw - reference: http://www.hl7.org/fhir/us/core/Patient/example -valueQuantity: - system: http://unitsofmeasure.org - unit: mg/dL - value: 76.0 -specimen: - reference: Specimen/example-serum-hemolyzed - display: Serum specimen -interpretation: - - - coding: - - code: N - display: Normal - system: http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation - text: Normal diff --git a/input/examples-yaml/Observation-substance-use-status.yml b/input/examples-yaml/Observation-substance-use-status.yml deleted file mode 100644 index 5317eebd..00000000 --- a/input/examples-yaml/Observation-substance-use-status.yml +++ /dev/null @@ -1,101 +0,0 @@ -resourceType: Observation -id: substance-use-status - -meta: - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation - # - 'http://nictiz.nl/fhir/StructureDefinition/zib-DrugUse' - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Substance Use Status Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: 'This is an Substance-use-status example for the *Simple Observation Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Simple Observations.' - -category: - - coding: - - system: 'http://terminology.hl7.org/CodeSystem/observation-category' - code: social-history - display: Social History - text: Social History - - -identifier: - - - system: 'urn:oid:2.16.840.1.113883.2.4.3.11.999.7.6' - value: 19a199c7-8fdf-11ec-9837-020000000000 -status: final -code: - coding: - - - system: 'http://loinc.org' - code: 11343-1 - display: History of Other nonmedical drug use - - - system: 'http://snomed.info/sct' - version: 'http://snomed.info/sct/731000124108' - code: '228366006' - display: Finding relating to drug misuse behavior (finding) - text: Substance use status -subject: - display: Amy Shaw - reference: http://www.hl7.org/fhir/us/core/Patient/example - -effectiveDateTime: '2023-08-03' - -performer: - - display: Amy Shaw - reference: http://www.hl7.org/fhir/us/core/Patient/example - -valueCodeableConcept: - coding: - - - system: 'http://snomed.info/sct' - code: '44870007' - display: Misused drugs in past (finding) - text: other possible values - Misuses drugs (finding), Does not misuse drugs (finding), Has never misused drugs -note: - - text: At parties -component: - - - code: - coding: - - - system: 'http://snomed.info/sct' - version: 'http://snomed.info/sct/731000124108' - code: '410942007' - display: Drug or medicament (substance) - text: Drug or medicament - valueCodeableConcept: - coding: - - - system: 'http://snomed.info/sct' - version: 'http://snomed.info/sct/731000124108' - code: '703842006' - display: Amphetamine - text: Amphetamine - - # - - # code: - # coding: - # - - # system: 'http://snomed.info/sct' - # code: '410675002' - # display: Route of administration (attribute) - # text: Route of administration - # valueCodeableConcept: - # coding: - # - - # system: 'urn:oid:2.16.840.1.113883.2.4.4.9' - # code: '6' - # display: NASAAL - - - - code: - coding: - - - system: 'http://snomed.info/sct' - version: 'http://snomed.info/sct/731000124108' - code: '228390007' - display: Frequency of drug misuse (observable entity) - text: Frequency of drug misuse - valueString: 3 times a year diff --git a/input/examples-yaml/Procedure-R4-defib-implant.yml b/input/examples-yaml/Procedure-R4-defib-implant.yml deleted file mode 100644 index 42e47138..00000000 --- a/input/examples-yaml/Procedure-R4-defib-implant.yml +++ /dev/null @@ -1,47 +0,0 @@ -resourceType: Procedure -id: defib-implant -meta: - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Procedure Defibrillator Implant Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This *US Core Procedure Profile* is an example of an Defibrillator - implant Procedure. In this example, the reason for a referral is communicated through `Procedure.code'. -identifier: -- system: urn:ietf:rfc:3986 - value: urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff -# basedOn: -# - reference: ServiceRequest/defib-implant -status: completed -code: - coding: - - system: http://www.ama-assn.org/go/cpt - code: '33249' - text: Insertion or replacement of permanent implantable defibrillator system with - transvenous lead(s), single or dual chamber -subject: - reference: Patient/example -encounter: - reference: Encounter/example-1 - display: Office Visit -performedPeriod: - start: '2019-03-26T12:55:26-07:00' - end: '2019-03-26T13:25:26-07:00' -performer: -- actor: - reference: Practitioner/practitioner-1 - -reasonCode: -- coding: - - system: http://hl7.org/fhir/sid/icd-10-cm - code: I49.01 - display: Ventricular fibrillation - text: Ventricular fibrillation - - -focalDevice: -- manipulated: - reference: Device/udi-2 - diff --git a/input/examples-yaml/Questionnaire-AUDIT-C.yml b/input/examples-yaml/Questionnaire-AUDIT-C.yml deleted file mode 100644 index 24bf09f7..00000000 --- a/input/examples-yaml/Questionnaire-AUDIT-C.yml +++ /dev/null @@ -1,252 +0,0 @@ - -code: - - - code: 72109-2 - display: Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] - system: 'http://loinc.org' -title: Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] -resourceType: Questionnaire -id: AUDIT-C -url: 'http://hl7.org/fhir/us/core/Questionnaire/AUDIT-C' -name: AUDIT_C -status: active -experimental: true -subjectType: - - Patient -date: '2023-08-14' -meta: - profile: - - 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire' - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] Questionnaire Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: 'Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] questionnaire example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources.' -item: - - - type: decimal - code: - - - code: 68517-2 - display: How many times in the past year have you have X or more drinks in a day? - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-unit' - valueCoding: - code: '{#}/a' - display: '{#}/a' - system: 'http://unitsofmeasure.org' - required: false - linkId: /68517-2 - text: How many times in the past year have you have X or more drinks in a day? - item: - - - text: 'Where X is 5 for men and 4 for women, and a response of greater than, or equal to, 1 is positive.' - type: display - linkId: /68517-2-help - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl' - valueCodeableConcept: - text: Help-Button - coding: - - - code: help - display: Help-Button - system: 'http://hl7.org/fhir/questionnaire-item-control' - - - type: choice - code: - - - code: 68519-8 - display: How many standard drinks containing alcohol do you have on a typical day? - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl' - valueCodeableConcept: - coding: - - - system: 'http://hl7.org/fhir/questionnaire-item-control' - code: drop-down - display: Drop down - text: Drop down - required: false - linkId: /68519-8 - text: How many standard drinks containing alcohol do you have on a typical day? - answerOption: - - - valueCoding: - code: LA15694-5 - display: 1 or 2 - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix' - valueString: '0' - - - url: 'http://hl7.org/fhir/StructureDefinition/ordinalValue' - valueDecimal: 0 - - - valueCoding: - code: LA15695-2 - display: 3 or 4 - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix' - valueString: '1' - - - url: 'http://hl7.org/fhir/StructureDefinition/ordinalValue' - valueDecimal: 1 - - - valueCoding: - code: LA18930-0 - display: 5 or 6 - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix' - valueString: '2' - - - url: 'http://hl7.org/fhir/StructureDefinition/ordinalValue' - valueDecimal: 2 - - - valueCoding: - code: LA18931-8 - display: 7 to 9 - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix' - valueString: '3' - - - url: 'http://hl7.org/fhir/StructureDefinition/ordinalValue' - valueDecimal: 3 - - - valueCoding: - code: LA18932-6 - display: 10 or more - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix' - valueString: '4' - - - url: 'http://hl7.org/fhir/StructureDefinition/ordinalValue' - valueDecimal: 4 - - - type: choice - code: - - - code: 68520-6 - display: How often do you have 6 or more drinks on 1 occasion? - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl' - valueCodeableConcept: - coding: - - - system: 'http://hl7.org/fhir/questionnaire-item-control' - code: drop-down - display: Drop down - text: Drop down - required: false - linkId: /68520-6 - text: How often do you have 6 or more drinks on 1 occasion? - answerOption: - - - valueCoding: - code: LA6270-8 - display: Never - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix' - valueString: '0' - - - url: 'http://hl7.org/fhir/StructureDefinition/ordinalValue' - valueDecimal: 0 - - - valueCoding: - code: LA18933-4 - display: Less than monthly - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix' - valueString: '1' - - - url: 'http://hl7.org/fhir/StructureDefinition/ordinalValue' - valueDecimal: 1 - - - valueCoding: - code: LA18876-5 - display: Monthly - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix' - valueString: '2' - - - url: 'http://hl7.org/fhir/StructureDefinition/ordinalValue' - valueDecimal: 2 - - - valueCoding: - code: LA18891-4 - display: Weekly - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix' - valueString: '3' - - - url: 'http://hl7.org/fhir/StructureDefinition/ordinalValue' - valueDecimal: 3 - - - valueCoding: - code: LA18934-2 - display: Daily or almost daily - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix' - valueString: '4' - - - url: 'http://hl7.org/fhir/StructureDefinition/ordinalValue' - valueDecimal: 4 - - - type: decimal - code: - - - code: 75626-2 - display: Total score [AUDIT-C] - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-unit' - valueCoding: - code: '{score}' - display: '{score}' - system: 'http://unitsofmeasure.org' - required: false - linkId: /75626-2 - text: Total score [AUDIT-C] - item: - - - text: >- - The Alcohol Use Disorders Identification Test C (AUDIT-C) is scored on a scale of 0-12 where the higher the score, the more likely the patient's drinking is hazardous. A score of 4 or more for men and 3 or more for women is considered positive for hazardous drinking or active alcohol use disorders. If the points are all from Question 1 alone where 2 and 3 are 0, it is likely the patient is drinking below recommended limits. The care provider may review the patients alcohol intake over that past few months to confirm accuracy. [PMID: 12695273] - type: display - linkId: /75626-2-help - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl' - valueCodeableConcept: - text: Help-Button - coding: - - - code: help - display: Help-Button - system: 'http://hl7.org/fhir/questionnaire-item-control' diff --git a/input/examples-yaml/Questionnaire-TAPS.yml b/input/examples-yaml/Questionnaire-TAPS.yml deleted file mode 100644 index b561691b..00000000 --- a/input/examples-yaml/Questionnaire-TAPS.yml +++ /dev/null @@ -1,248 +0,0 @@ -code: - - - code: 96841-2 - display: 'Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS]' - system: 'http://loinc.org' -title: 'Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS]' -resourceType: Questionnaire -id: TAPS -url: 'http://hl7.org/fhir/us/core/Questionnaire/TAPS' -name: TAPS -status: active -experimental: true -subjectType: - - Patient -date: '2023-08-14' -meta: - profile: - - 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire' - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] Questionnaire Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: 'Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] questionnaire example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources.' -item: - - - type: choice - code: - - - code: 96842-0 - display: 'How often have you used any tobacco product in past 12 months' - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl' - valueCodeableConcept: - coding: - - - system: 'http://hl7.org/fhir/questionnaire-item-control' - code: drop-down - display: Drop down - text: Drop down - required: false - linkId: /96842-0 - text: 'How often have you used any tobacco product in past 12 months' - answerOption: - - - valueCoding: - code: LA18934-2 - display: Daily or almost daily - system: 'http://loinc.org' - - - valueCoding: - code: LA18891-4 - display: Weekly - system: 'http://loinc.org' - - - valueCoding: - code: LA18876-5 - display: Monthly - system: 'http://loinc.org' - - - valueCoding: - code: LA18933-4 - display: Less than monthly - system: 'http://loinc.org' - - - valueCoding: - code: LA6270-8 - display: Never - system: 'http://loinc.org' - - - type: choice - code: - - - code: 88037-7 - display: 'How often have you had five or more drinks in one day during the past year [Reported]' - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl' - valueCodeableConcept: - coding: - - - system: 'http://hl7.org/fhir/questionnaire-item-control' - code: drop-down - display: Drop down - text: Drop down - required: false - linkId: /88037-7 - text: 'How often have you had five or more drinks in one day during the past year [Reported]' - answerOption: - - - valueCoding: - code: LA18934-2 - display: Daily or almost daily - system: 'http://loinc.org' - - - valueCoding: - code: LA18891-4 - display: Weekly - system: 'http://loinc.org' - - - valueCoding: - code: LA18876-5 - display: Monthly - system: 'http://loinc.org' - - - valueCoding: - code: LA18933-4 - display: Less than monthly - system: 'http://loinc.org' - - - valueCoding: - code: LA6270-8 - display: Never - system: 'http://loinc.org' - item: - - - text: 'Some measures (like electronic Clinical Quality Measure (eCQM) used by CMS) define "risky drinker" differently based on gender: 4 or more drinks per day for women and 5 or more drinks per day for men. The LOINC for 4 or more drinks per day is [LOINC: 75889-6].' - type: display - linkId: /88037-7-help - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl' - valueCodeableConcept: - text: Help-Button - coding: - - - code: help - display: Help-Button - system: 'http://hl7.org/fhir/questionnaire-item-control' - - - type: choice - code: - - - code: 75889-6 - display: 'How often have you had four or more drinks in one day during the past year [Reported]' - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl' - valueCodeableConcept: - coding: - - - system: 'http://hl7.org/fhir/questionnaire-item-control' - code: drop-down - display: Drop down - text: Drop down - required: false - linkId: /75889-6 - text: 'How often have you had four or more drinks in one day during the past year [Reported]' - answerOption: - - - valueCoding: - code: LA18934-2 - display: Daily or almost daily - system: 'http://loinc.org' - - - valueCoding: - code: LA18891-4 - display: Weekly - system: 'http://loinc.org' - - - valueCoding: - code: LA18876-5 - display: Monthly - system: 'http://loinc.org' - - - valueCoding: - code: LA18933-4 - display: Less than monthly - system: 'http://loinc.org' - - - valueCoding: - code: LA6270-8 - display: Never - system: 'http://loinc.org' - item: - - - text: "A question asked to determine if the patient is considered a 'risky drinker'. This term was created for, but not limited in use to, an electronic Clinical Quality Measure (eCQM) to be used in the CMS EHR Incentive Program for Meaningful Use. The eCQM allows for multiple ways to screen for alcohol misuse, including AUDIT-C [LOINC: 75626-2] or one of two questions that assess whether the patient consumes alcohol [LOINC: 75855-7] and the frequency of heavy drinking days (this LOINC). The LOINC for five (5) or more drinks per day is [LOINC: 88037-7]." - type: display - linkId: /75889-6-help - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl' - valueCodeableConcept: - text: Help-Button - coding: - - - code: help - display: Help-Button - system: 'http://hl7.org/fhir/questionnaire-item-control' - - - type: choice - code: - - - code: 96843-8 - display: 'How often have you used illegal or recreational drugs in past 12 months' - system: 'http://loinc.org' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl' - valueCodeableConcept: - coding: - - - system: 'http://hl7.org/fhir/questionnaire-item-control' - code: drop-down - display: Drop down - text: Drop down - required: false - linkId: /96843-8 - text: 'How often have you used illegal or recreational drugs in past 12 months' - answerOption: - - - valueCoding: - code: LA18934-2 - display: Daily or almost daily - system: 'http://loinc.org' - - - valueCoding: - code: LA18891-4 - display: Weekly - system: 'http://loinc.org' - - - valueCoding: - code: LA18876-5 - display: Monthly - system: 'http://loinc.org' - - - valueCoding: - code: LA18933-4 - display: Less than monthly - system: 'http://loinc.org' - - - valueCoding: - code: LA6270-8 - display: Never - system: 'http://loinc.org' - - - type: string - code: - - - code: 96844-6 - display: 'How often have you used any prescription medications just for the feeling, more than prescribed or that were not prescribed for you in past 12 months [TAPS]' - system: 'http://loinc.org' - required: false - linkId: /96844-6 - text: 'How often have you used any prescription medications just for the feeling, more than prescribed or that were not prescribed for you in past 12 months [TAPS]' diff --git a/input/examples-yaml/Questionnaire-exercise-vital-sign.yml b/input/examples-yaml/Questionnaire-exercise-vital-sign.yml deleted file mode 100644 index f2c9c51b..00000000 --- a/input/examples-yaml/Questionnaire-exercise-vital-sign.yml +++ /dev/null @@ -1,60 +0,0 @@ -resourceType: Questionnaire -id: exercise-vital-sign -meta: - profile: - - 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire' - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Exercise Vital Sign Questionnaire Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: 'This is the [LHC Form](https://loinc.org/lhc-forms/) Exercise Vital Sign (EVS) Questionnaire Example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources.' -url: 'http://hl7.org/fhir/us/core/Questionnaire/exercise-vital-sign' -name: ExerciseVitalSign -title: Exercise Vital Sign (EVS) -status: active -experimental: true -subjectType: - - Patient -date: '2023-08-03' -code: - - - system: 'http://loinc.org' - code: 89574-8 - display: Exercise Vital Sign (EVS) - -item: - - - type: decimal - code: - - - code: 89555-7 - system: 'http://loinc.org' - display: How many days per week did you engage in moderate to strenuous physical activity in the last 30 days - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-unit' - valueCoding: - code: d/wk - display: d/wk - system: 'http://unitsofmeasure.org' - required: false - linkId: /89555-7 - text: How many D per W did you engage in moderate to strenuous physical activity in the last 30D - - - - type: decimal - code: - - - code: 68516-4 - system: 'http://loinc.org' - display: 'On those days that you engage in moderate to strenuous exercise, how many minutes, on average, do you exercise?' - extension: - - - url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-unit' - valueCoding: - code: min/d - display: min/d - system: 'http://unitsofmeasure.org' - required: false - linkId: /68516-4 - text: 'On those days that you engage in moderate to strenuous exercise, how many minutes, on average, do you exercise?' diff --git a/input/examples-yaml/QuestionnaireResponse-AUDIT-C.yml b/input/examples-yaml/QuestionnaireResponse-AUDIT-C.yml deleted file mode 100644 index f1a9c582..00000000 --- a/input/examples-yaml/QuestionnaireResponse-AUDIT-C.yml +++ /dev/null @@ -1,50 +0,0 @@ -resourceType: QuestionnaireResponse -id: AUDIT-C -meta: - profile: - - 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse' - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: 'This is the [LHC Form](https://loinc.org/lhc-forms/) Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources.' -questionnaire: http://hl7.org/fhir/us/core/Questionnaire/AUDIT-C -status: completed -subject: - display: Amy Shaw - reference: http://www.hl7.org/fhir/us/core/Patient/example -authored: '2023-08-14T20:40:49.675Z' -author: - reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 - type: Practitioner -item: - - - linkId: /68517-2 - text: How many times in the past year have you have X or more drinks in a day? - answer: - - - valueDecimal: 0 - - - linkId: /68519-8 - text: How many standard drinks containing alcohol do you have on a typical day? - answer: - - - valueCoding: - system: 'http://loinc.org' - code: LA15694-5 - display: 1 or 2 - - - linkId: /68520-6 - text: How often do you have 6 or more drinks on 1 occasion? - answer: - - - valueCoding: - system: 'http://loinc.org' - code: LA6270-8 - display: Never - - - linkId: /75626-2 - text: Total score [AUDIT-C] - answer: - - - valueDecimal: 0 diff --git a/input/examples-yaml/QuestionnaireResponse-TAPS.yml b/input/examples-yaml/QuestionnaireResponse-TAPS.yml deleted file mode 100644 index 0ea309e2..00000000 --- a/input/examples-yaml/QuestionnaireResponse-TAPS.yml +++ /dev/null @@ -1,62 +0,0 @@ -resourceType: QuestionnaireResponse -id: TAPS -meta: - profile: - - 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse' - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] QuestionnaireResponse Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: 'This is the [LHC Form](https://loinc.org/lhc-forms/) Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] QuestionnaireResponse example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources.' -questionnaire: http://hl7.org/fhir/us/core/Questionnaire/TAPS -status: completed -subject: - display: Amy Shaw - reference: http://www.hl7.org/fhir/us/core/Patient/example -authored: '2023-08-14T20:40:49.675Z' -author: - reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 - type: Practitioner -item: - - - linkId: /96842-0 - text: 'How often have you used any tobacco product in past 12 months' - answer: - - - valueCoding: - system: 'http://loinc.org' - code: LA6270-8 - display: Never - - - linkId: /88037-7 - text: 'How often have you had five or more drinks in one day during the past year [Reported]' - answer: - - - valueCoding: - system: 'http://loinc.org' - code: LA6270-8 - display: Never - - - linkId: /75889-6 - text: 'How often have you had four or more drinks in one day during the past year [Reported]' - answer: - - - valueCoding: - system: 'http://loinc.org' - code: LA6270-8 - display: Never - - - linkId: /96843-8 - text: 'How often have you used illegal or recreational drugs in past 12 months' - answer: - - - valueCoding: - system: 'http://loinc.org' - code: LA6270-8 - display: Never - - - linkId: /96844-6 - text: 'How often have you used any prescription medications just for the feeling, more than prescribed or that were not prescribed for you in past 12 months [TAPS]' - answer: - - - valueString: '0' diff --git a/input/examples-yaml/QuestionnaireResponse-exercise-vital-sign.yml b/input/examples-yaml/QuestionnaireResponse-exercise-vital-sign.yml deleted file mode 100644 index b15e0cc1..00000000 --- a/input/examples-yaml/QuestionnaireResponse-exercise-vital-sign.yml +++ /dev/null @@ -1,33 +0,0 @@ -resourceType: QuestionnaireResponse -id: exercise-vital-sign -meta: - profile: - - 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse' - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Exercise Vital Sign QuestionnaireResponse Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: 'This is the [LHC Form](https://loinc.org/lhc-forms/) Exercise Vital Sign (EVS) QuestionnaireResponse Example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources.' -questionnaire: 'http://hl7.org/fhir/us/core/Questionnaire/exercise-vital-sign' - -status: completed -subject: - display: Amy Shaw - reference: http://www.hl7.org/fhir/us/core/Patient/example -authored: '2023-08-04T03:52:52.685Z' -author: - reference: https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1 - type: Practitioner -item: - - linkId: /89555-7 - text: >- - How many D per W did you engage in moderate to strenuous physical activity - in the last 30D - answer: - - valueDecimal: 3 - - linkId: /68516-4 - text: >- - On those days that you engage in moderate to strenuous exercise, how many - minutes, on average, do you exercise? - answer: - - valueDecimal: 60 \ No newline at end of file diff --git a/input/examples-yaml/Specimen-example-serum-hemolyzed.yml b/input/examples-yaml/Specimen-example-serum-hemolyzed.yml deleted file mode 100644 index 127a90d5..00000000 --- a/input/examples-yaml/Specimen-example-serum-hemolyzed.yml +++ /dev/null @@ -1,50 +0,0 @@ -resourceType: Specimen -id: example-serum-hemolyzed -meta: - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen - # - http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-specimen - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Hemolyzed Serum Specimen Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is a serum specimen example for the *US Core Specimen Profile*. It demonstrates the use of the USCDI requirements for specimen condition and body source site. -# === New USCDI requirement === -accessionIdentifier: - system: http://acme.com/labs/accession-ids - value: 20220927-00124 -type: - coding: - - system: http://snomed.info/sct - code: '119364003' - display: Serum sample - version: http://snomed.info/sct/731000124108 - - system: http://terminology.hl7.org/CodeSystem/v2-0487 - code: SER - display: Serum -subject: - reference: Patient/example -collection: - collectedDateTime: '2022-09-27T18:07:12Z' - bodySite: - coding: - - system: http://snomed.info/sct - code: '368209003' - display: Right arm - version: http://snomed.info/sct/731000124108 - text: Right arm -container: -- type: - text: Serum Separator Tube -# === New USCDI requirement === -identifier: - - system: http://acme.com/labs/accession-ids - value: 20220927-00124 -# === New USCDI requirement === -condition: - - text: Hemolyzed - coding: - - system: http://terminology.hl7.org/CodeSystem/v2-0493 - code: HEM - display: Hemolyzed - diff --git a/input/examples-yaml/location-hospital.yml b/input/examples-yaml/location-hospital.yml deleted file mode 100644 index bc6fe2a4..00000000 --- a/input/examples-yaml/location-hospital.yml +++ /dev/null @@ -1,41 +0,0 @@ -resourceType: Location -id: hospital -meta: - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: Hospital Location - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This is an example hospital location for the *US Core Location - Profile*. - profile: - # - http://hl7.org/fhir/us/core/StructureDefinition/us-core-location - - http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-location - -# === New USCDI requirement === -identifier: - - system: http://hl7.org/fhir/sid/us-npi - value: '1234567893' -status: active -name: Holy Family Hospital - -#=== new USCDI requirement === -type: - - coding: - - system: http://terminology.hl7.org/CodeSystem/v3-RoleCode - code: HOSP - display: Hospital - text: Hospital - -telecom: -- system: phone - value: '9786870156' -address: - line: - - 70 EAST STREET - city: METHUEN - state: MA - postalCode: 01844 - country: US -managingOrganization: - reference: http://www.hl7.org/fhir/us/core/Organization/holy-healthcare - display: Holy Healthcare diff --git a/input/examples-yaml/medicationrequest-self-tylenol-with-compliance.yml b/input/examples-yaml/medicationrequest-self-tylenol-with-compliance.yml deleted file mode 100644 index 2a3e599e..00000000 --- a/input/examples-yaml/medicationrequest-self-tylenol-with-compliance.yml +++ /dev/null @@ -1,63 +0,0 @@ -resourceType: MedicationRequest -id: self-tylenol-with-compliance -identifier: -- use: official - system: http://acme.org/prescriptions - value: '12345689' -status: active -intent: plan -reportedBoolean: true -medicationCodeableConcept: - coding: - - system: http://www.nlm.nih.gov/research/umls/rxnorm - code: '1187314' - display: Tylenol PM Pill - text: Tylenol PM Pill -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example - display: Amy V. Shaw -encounter: - reference: http://www.hl7.org/fhir/us/core/Encounter/example-1 - display: Office Visit -authoredOn: '2019-06-24' -requester: - reference: http://www.hl7.org/fhir/us/core/Patient/example - display: '**self-prescribed**' -dosageInstruction: -- text: Takes 1-2 tablets once daily at bedtime as needed for restless legs -meta: - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: MedicationRequest Self Tylenol with Compliance Extension Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This example demonstrates medication adherence for a self-prescribed Tylenol example for the using an extension on the MedicationRequest. The extension value uses SNOMED CT. -reasonCode: -- coding: - - system: http://snomed.info/sct - code: '32914008' - display: Restless legs (disorder) | - version: http://snomed.info/sct/731000124108 - text: Restless Leg Syndrome - -# === proposed extension === -extension: - - extension: - - url: medAdherence - valueCodeableConcept: - coding: - - system: http://hl7.org/fhir/CodeSystem/medication-statement-adherence - code: unknown - display: Unknown - - - url: timeStamp - valueDateTime: '2023-08-11T08:15:49.449Z' - - - url: reporter - valueReference: - reference: http://www.hl7.org/fhir/us/core/Patient/example - display: Amy Shaw - url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationrequest-compliance-extension - -# === end proposed extension === \ No newline at end of file diff --git a/input/examples-yaml/medicationstatement-self-tylenol-with-compliance.yml b/input/examples-yaml/medicationstatement-self-tylenol-with-compliance.yml deleted file mode 100644 index 1e310f6a..00000000 --- a/input/examples-yaml/medicationstatement-self-tylenol-with-compliance.yml +++ /dev/null @@ -1,51 +0,0 @@ -resourceType: MedicationStatement -id: self-tylenol-with-compliance -# identifier: -# - system: http://acme.org/prescriptions -# value: '12345689' -status: active -medicationCodeableConcept: - coding: - - system: http://www.nlm.nih.gov/research/umls/rxnorm - code: '1187314' - display: Tylenol PM Pill - text: Tylenol PM Pill -subject: - reference: http://www.hl7.org/fhir/us/core/Patient/example - display: Amy Shaw -effectiveDateTime: '2008-04-05' -informationSource: - reference: http://www.hl7.org/fhir/us/core/Patient/example - display: Amy Shaw -dosage: -- text: Takes 1-2 tablets once daily at bedtime as needed for restless legs -meta: - profile: - # - http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationstatement - - http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationstatement - extension: - - url: http://hl7.org/fhir/StructureDefinition/instance-name - valueString: MedicationStatement Self Tylenol with Compliance Extension Example - - url: http://hl7.org/fhir/StructureDefinition/instance-description - valueMarkdown: This example demonstrates medication adherence for a self-prescribed Tylenol example for the using an extension on the MedicationRequest. The extension value uses MedicationStatement Adherence Codes. -reasonCode: -- coding: - - system: http://snomed.info/sct - code: '32914008' - display: Restless legs (disorder) - version: http://snomed.info/sct/731000124108 - text: Restless Leg Syndrome - -# === proposed R5 extension === -extension: - - extension: - - url: code - valueCodeableConcept: - coding: - - system: http://hl7.org/fhir/CodeSystem/medication-statement-adherence - code: taking - display: Taking - text: Taking - url: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationUsage.adherence - -# === end proposed R5 extension === \ No newline at end of file diff --git a/input/examples/MedicationRequest-coded-oral-axid-with-compliance.json b/input/examples/MedicationRequest-coded-oral-axid-with-compliance.json deleted file mode 100644 index 33a5555b..00000000 --- a/input/examples/MedicationRequest-coded-oral-axid-with-compliance.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "resourceType": "MedicationRequest", - "id": "coded-oral-axid-with-compliance", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "MedicationRequest Coded Oral Axid with Compliance Extension Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This example demonstrates medication adherence for a prescribed medication example using an extension on the MedicationRequest. The extension value uses SNOMED CT." - } - ] - }, - "extension": [ - { - "extension": [ - { - "url": "medAdherence", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/CodeSystem/medication-statement-adherence", - "code": "taking-not-as-directed", - "display": "Taking Not As Directed" - } - ] - } - }, - { - "url": "timeStamp", - "valueDateTime": "2023-08-11T08:15:49.449Z" - }, - { - "url": "reporter", - "valueReference": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example", - "display": "Amy Shaw" - } - } - ], - "url": "http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationrequest-compliance-extension" - } - ], - "status": "active", - "intent": "order", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "476872", - "display": "Nizatidine 15 MG/ML Oral Solution" - } - ], - "text": "Nizatidine 15 MG/ML Oral Solution" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example", - "display": "Amy Shaw" - }, - "authoredOn": "2008-04-05", - "requester": { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1", - "display": "Ronald Bone, MD" - }, - "dosageInstruction": [ - { - "text": "10 mL bid", - "timing": { - "repeat": { - "frequency": 2, - "period": 1, - "periodUnit": "d", - "boundsPeriod": { - "start": "2008-04-05" - } - } - }, - "doseAndRate": [ - { - "doseQuantity": { - "value": 10, - "unit": "ml", - "system": "http://unitsofmeasure.org", - "code": "mL" - } - } - ] - } - ], - "dispenseRequest": { - "numberOfRepeatsAllowed": 1, - "quantity": { - "value": 480, - "unit": "mL", - "system": "http://unitsofmeasure.org", - "code": "mL" - }, - "expectedSupplyDuration": { - "value": 30, - "unit": "days", - "system": "http://unitsofmeasure.org", - "code": "d" - } - }, - "reasonCode": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "51868009", - "display": "Ulcer of duodenum (disorder)", - "version": "http://snomed.info/sct/731000124108" - } - ], - "text": "Active Duodenal Ulcer" - } - ] -} \ No newline at end of file diff --git a/input/examples/MedicationStatement-coded-oral-axid-with-compliance.json b/input/examples/MedicationStatement-coded-oral-axid-with-compliance.json deleted file mode 100644 index 59fb726d..00000000 --- a/input/examples/MedicationStatement-coded-oral-axid-with-compliance.json +++ /dev/null @@ -1,96 +0,0 @@ -{ - "resourceType": "MedicationStatement", - "id": "coded-oral-axid-with-compliance", - "meta": { - "profile": [ - "http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationstatement" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "MedicationStatement Coded Oral Axid with Adherence Extension Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This example demonstrates medication adherence for a prescribed medication example using an R5 element extension on the MedicationStatement. The extension value uses MedicationStatement Adherence Codes." - } - ] - }, - "extension": [ - { - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/CodeSystem/medication-statement-adherence", - "code": "taking-not-as-directed", - "display": "Taking Not As Directed" - } - ] - } - } - ], - "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationUsage.adherence" - } - ], - "status": "active", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "476872", - "display": "Nizatidine 15 MG/ML Oral Solution" - } - ], - "text": "Nizatidine 15 MG/ML Oral Solution" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2008-04-05", - "informationSource": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example", - "display": "Amy Shaw" - }, - "dosage": [ - { - "text": "10 mL bid", - "timing": { - "repeat": { - "frequency": 2, - "period": 1, - "periodUnit": "d", - "boundsPeriod": { - "start": "2008-04-05" - } - } - }, - "doseAndRate": [ - { - "doseQuantity": { - "value": 10, - "unit": "ml", - "system": "http://unitsofmeasure.org", - "code": "mL" - } - } - ] - } - ], - "reasonCode": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "51868009", - "display": "Ulcer of duodenum (disorder)", - "version": "http://snomed.info/sct/731000124108" - } - ], - "text": "Active Duodenal Ulcer" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-AUDIT-C-item-example-68517-2.json b/input/examples/Observation-AUDIT-C-item-example-68517-2.json deleted file mode 100644 index 9f51e102..00000000 --- a/input/examples/Observation-AUDIT-C-item-example-68517-2.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "resourceType": "Observation", - "id": "AUDIT-C-item-example-68517-2", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Audit-C Item Example 68517-2" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a Audit-C Item Example 68517-2 (How many times in the past year have you have X or more drinks in a day?) for the *US Core Observation Screening Assessment Profile*" - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "68517-2", - "display": "How many times in the past year have you have X or more drinks in a day?" - } - ], - "text": "How many times in the past year have you have X or more drinks in a day?" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-14T20:40:49.675000+00:00", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "valueQuantity": { - "value": 0.0, - "unit": "# per year", - "system": "http://unitsofmeasure.org", - "code": "{#}/a" - }, - "note": [ - { - "text": "Where X is 5 for men and 4 for women, and a response of greater than, or equal to, 1 is positive." - } - ], - "derivedFrom": [ - { - "reference": "QuestionnaireResponse/AUDIT-C", - "display": "Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse Example" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-AUDIT-C-item-example-68519-8.json b/input/examples/Observation-AUDIT-C-item-example-68519-8.json deleted file mode 100644 index 77ec2e6b..00000000 --- a/input/examples/Observation-AUDIT-C-item-example-68519-8.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "resourceType": "Observation", - "id": "AUDIT-C-item-example-68519-8", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Audit-C Item Example 68519-8" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a Audit-C Item Example 68519-8 (How many standard drinks containing alcohol do you have on a typical day?) for the *US Core Observation Screening Assessment Profile*" - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "68519-8", - "display": "How many standard drinks containing alcohol do you have on a typical day?" - } - ], - "text": "How many standard drinks containing alcohol do you have on a typical day?" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-14T20:40:49.675000+00:00", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "valueCodeableConcept": { - "coding": [ - { - "system": "http://loinc.org", - "code": "LA15694-5", - "display": "1 or 2" - } - ], - "text": "1 or 2" - }, - "derivedFrom": [ - { - "reference": "QuestionnaireResponse/AUDIT-C", - "display": "Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse Example" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-AUDIT-C-item-example-68520-6.json b/input/examples/Observation-AUDIT-C-item-example-68520-6.json deleted file mode 100644 index bba35522..00000000 --- a/input/examples/Observation-AUDIT-C-item-example-68520-6.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "resourceType": "Observation", - "id": "AUDIT-C-item-example-68520-6", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Audit-C Item Example 68520-6" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a Audit-C Item Example 68520-6 (How often do you have 6 or more drinks on 1 occasion?) for the *US Core Observation Screening Assessment Profile*" - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "68520-6", - "display": "How often do you have 6 or more drinks on 1 occasion?" - } - ], - "text": "How often do you have 6 or more drinks on 1 occasion?" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-14T20:40:49.675000+00:00", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "valueCodeableConcept": { - "coding": [ - { - "system": "http://loinc.org", - "code": "LA6270-8", - "display": "Never" - } - ], - "text": "Never" - }, - "derivedFrom": [ - { - "reference": "QuestionnaireResponse/AUDIT-C", - "display": "Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse Example" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-AUDIT-C-item-example-75626-2.json b/input/examples/Observation-AUDIT-C-item-example-75626-2.json deleted file mode 100644 index 5a0434b4..00000000 --- a/input/examples/Observation-AUDIT-C-item-example-75626-2.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "resourceType": "Observation", - "id": "AUDIT-C-item-example-75626-2", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Audit-C Item Example 75626-2" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a Audit-C Item Example 75626-2 (Total score [AUDIT-C]) for the *US Core Observation Screening Assessment Profile*" - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "75626-2", - "display": "Total score [AUDIT-C]" - } - ], - "text": "Total score [AUDIT-C]" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-14T20:40:49.675000+00:00", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "valueQuantity": { - "value": 0.0, - "unit": "score", - "system": "http://unitsofmeasure.org", - "code": "{score}" - }, - "note": [ - { - "text": "The Alcohol Use Disorders Identification Test C (AUDIT-C) is scored on a scale of 0-12 where the higher the score, the more likely the patient's drinking is hazardous. A score of 4 or more for men and 3 or more for women is considered positive for hazardous drinking or active alcohol use disorders. If the points are all from Question 1 alone where 2 and 3 are 0, it is likely the patient is drinking below recommended limits. The care provider may review the patients alcohol intake over that past few months to confirm accuracy. [PMID: 12695273]" - } - ], - "derivedFrom": [ - { - "reference": "QuestionnaireResponse/AUDIT-C", - "display": "Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse Example" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-AUDIT-C-panel-example-72109-2.json b/input/examples/Observation-AUDIT-C-panel-example-72109-2.json deleted file mode 100644 index f6bc5b2e..00000000 --- a/input/examples/Observation-AUDIT-C-panel-example-72109-2.json +++ /dev/null @@ -1,70 +0,0 @@ -{ - "resourceType": "Observation", - "id": "AUDIT-C-panel-example-72109-2", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Audit-C Panel Example 72109-2" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a Audit-C Panel Example 72109-2 (Alcohol Use Disorder Identification Test - Consumption [AUDIT-C]) for the *US Core Observation Screening Assessment Profile*" - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "72109-2", - "display": "Alcohol Use Disorder Identification Test - Consumption [AUDIT-C]" - } - ], - "text": "Alcohol Use Disorder Identification Test - Consumption [AUDIT-C]" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-14T20:40:49.675000+00:00", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "hasMember": [ - { - "reference": "Observation/AUDIT-C-item-example-68517-2" - }, - { - "reference": "Observation/AUDIT-C-item-example-68519-8" - }, - { - "reference": "Observation/AUDIT-C-item-example-68520-6" - }, - { - "reference": "Observation/AUDIT-C-item-example-75626-2" - } - ], - "derivedFrom": [ - { - "reference": "QuestionnaireResponse/AUDIT-C", - "display": "Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse Example" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-EVS-item-example-68516-4.json b/input/examples/Observation-EVS-item-example-68516-4.json deleted file mode 100644 index becda4b5..00000000 --- a/input/examples/Observation-EVS-item-example-68516-4.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "resourceType": "Observation", - "id": "EVS-item-example-68516-4", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Evs Item Example 68516-4" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a Evs Item Example 68516-4 (On those days that you engage in moderate to strenuous exercise, how many minutes, on average, do you exercise?) for the *US Core Observation Screening Assessment Profile*" - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "68516-4", - "display": "On those days that you engage in moderate to strenuous exercise, how many minutes, on average, do you exercise?" - } - ], - "text": "On those days that you engage in moderate to strenuous exercise, how many minutes, on average, do you exercise?" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-04T03:52:52.685000+00:00", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "valueString": "60", - "derivedFrom": [ - { - "reference": "QuestionnaireResponse/exercise-vital-sign", - "display": "Exercise Vital Sign QuestionnaireResponse Example" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-EVS-item-example-89555-7.json b/input/examples/Observation-EVS-item-example-89555-7.json deleted file mode 100644 index 3e809233..00000000 --- a/input/examples/Observation-EVS-item-example-89555-7.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "resourceType": "Observation", - "id": "EVS-item-example-89555-7", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Evs Item Example 89555-7" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a Evs Item Example 89555-7 (How many D per W did you engage in moderate to strenuous physical activity in the last 30D) for the *US Core Observation Screening Assessment Profile*" - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "89555-7", - "display": "How many days per week did you engage in moderate to strenuous physical activity in the last 30 days" - } - ], - "text": "How many days per week did you engage in moderate to strenuous physical activity in the last 30 days" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-04T03:52:52.685000+00:00", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "valueString": "3", - "derivedFrom": [ - { - "reference": "QuestionnaireResponse/exercise-vital-sign", - "display": "Exercise Vital Sign QuestionnaireResponse Example" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-EVS-panel-example-89574-8.json b/input/examples/Observation-EVS-panel-example-89574-8.json deleted file mode 100644 index fdf209c7..00000000 --- a/input/examples/Observation-EVS-panel-example-89574-8.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "resourceType": "Observation", - "id": "EVS-panel-example-89574-8", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Evs Panel Example 89574-8" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a Evs Panel Example 89574-8 (Exercise Vital Sign (EVS)) for the *US Core Observation Screening Assessment Profile*" - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "89574-8", - "display": "Exercise Vital Sign (EVS)" - } - ], - "text": "Exercise Vital Sign (EVS)" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-04T03:52:52.685000+00:00", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "hasMember": [ - { - "reference": "Observation/EVS-item-example-89555-7" - }, - { - "reference": "Observation/EVS-item-example-68516-4" - } - ], - "derivedFrom": [ - { - "reference": "QuestionnaireResponse/exercise-vital-sign", - "display": "Exercise Vital Sign QuestionnaireResponse Example" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-TAPS-item-example-75889-6.json b/input/examples/Observation-TAPS-item-example-75889-6.json deleted file mode 100644 index 9864c4b5..00000000 --- a/input/examples/Observation-TAPS-item-example-75889-6.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "resourceType": "Observation", - "id": "TAPS-item-example-75889-6", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Taps Item Example 75889-6" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a Taps Item Example 75889-6 (How often have you had four or more drinks in one day during the past year [Reported]) for the *US Core Observation Screening Assessment Profile*" - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "75889-6", - "display": "How often have you had four or more drinks in one day during the past year [Reported]" - } - ], - "text": "How often have you had four or more drinks in one day during the past year [Reported]" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-14T20:40:49.675000+00:00", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "valueCodeableConcept": { - "coding": [ - { - "system": "http://loinc.org", - "code": "LA6270-8", - "display": "Never" - } - ], - "text": "Never" - }, - "note": [ - { - "text": "A question asked to determine if the patient is considered a 'risky drinker'. This term was created for, but not limited in use to, an electronic Clinical Quality Measure (eCQM) to be used in the CMS EHR Incentive Program for Meaningful Use. The eCQM allows for multiple ways to screen for alcohol misuse, including AUDIT-C [LOINC: 75626-2] or one of two questions that assess whether the patient consumes alcohol [LOINC: 75855-7] and the frequency of heavy drinking days (this LOINC). The LOINC for five (5) or more drinks per day is [LOINC: 88037-7]." - } - ], - "derivedFrom": [ - { - "reference": "QuestionnaireResponse/TAPS", - "display": "Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] QuestionnaireResponse Example" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-TAPS-item-example-88037-7.json b/input/examples/Observation-TAPS-item-example-88037-7.json deleted file mode 100644 index d01ddf77..00000000 --- a/input/examples/Observation-TAPS-item-example-88037-7.json +++ /dev/null @@ -1,71 +0,0 @@ -{ - "resourceType": "Observation", - "id": "TAPS-item-example-88037-7", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Taps Item Example 88037-7" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a Taps Item Example 88037-7 (How often have you had five or more drinks in one day during the past year [Reported]) for the *US Core Observation Screening Assessment Profile*" - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "88037-7", - "display": "How often have you had five or more drinks in one day during the past year [Reported]" - } - ], - "text": "How often have you had five or more drinks in one day during the past year [Reported]" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-14T20:40:49.675000+00:00", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "valueCodeableConcept": { - "coding": [ - { - "system": "http://loinc.org", - "code": "LA6270-8", - "display": "Never" - } - ], - "text": "Never" - }, - "note": [ - { - "text": "Some measures (like electronic Clinical Quality Measure (eCQM) used by CMS) define \"risky drinker\" differently based on gender: 4 or more drinks per day for women and 5 or more drinks per day for men. The LOINC for 4 or more drinks per day is [LOINC: 75889-6]." - } - ], - "derivedFrom": [ - { - "reference": "QuestionnaireResponse/TAPS", - "display": "Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] QuestionnaireResponse Example" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-TAPS-item-example-96842-0.json b/input/examples/Observation-TAPS-item-example-96842-0.json deleted file mode 100644 index d429c39a..00000000 --- a/input/examples/Observation-TAPS-item-example-96842-0.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "resourceType": "Observation", - "id": "TAPS-item-example-96842-0", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Taps Item Example 96842-0" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a Taps Item Example 96842-0 (How often have you used any tobacco product in past 12 months) for the *US Core Observation Screening Assessment Profile*" - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "96842-0", - "display": "How often have you used any tobacco product in past 12 months" - } - ], - "text": "How often have you used any tobacco product in past 12 months" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-14T20:40:49.675000+00:00", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "valueCodeableConcept": { - "coding": [ - { - "system": "http://loinc.org", - "code": "LA6270-8", - "display": "Never" - } - ], - "text": "Never" - }, - "derivedFrom": [ - { - "reference": "QuestionnaireResponse/TAPS", - "display": "Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] QuestionnaireResponse Example" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-TAPS-item-example-96843-8.json b/input/examples/Observation-TAPS-item-example-96843-8.json deleted file mode 100644 index 48e695a4..00000000 --- a/input/examples/Observation-TAPS-item-example-96843-8.json +++ /dev/null @@ -1,66 +0,0 @@ -{ - "resourceType": "Observation", - "id": "TAPS-item-example-96843-8", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Taps Item Example 96843-8" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a Taps Item Example 96843-8 (How often have you used illegal or recreational drugs in past 12 months) for the *US Core Observation Screening Assessment Profile*" - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "96843-8", - "display": "How often have you used illegal or recreational drugs in past 12 months" - } - ], - "text": "How often have you used illegal or recreational drugs in past 12 months" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-14T20:40:49.675000+00:00", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "valueCodeableConcept": { - "coding": [ - { - "system": "http://loinc.org", - "code": "LA6270-8", - "display": "Never" - } - ], - "text": "Never" - }, - "derivedFrom": [ - { - "reference": "QuestionnaireResponse/TAPS", - "display": "Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] QuestionnaireResponse Example" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-TAPS-item-example-96844-6.json b/input/examples/Observation-TAPS-item-example-96844-6.json deleted file mode 100644 index 2f9d4f39..00000000 --- a/input/examples/Observation-TAPS-item-example-96844-6.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "resourceType": "Observation", - "id": "TAPS-item-example-96844-6", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Taps Item Example 96844-6" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a Taps Item Example 96844-6 (How often have you used any prescription medications just for the feeling, more than prescribed or that were not prescribed for you in past 12 months [TAPS]) for the *US Core Observation Screening Assessment Profile*" - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "96844-6", - "display": "How often have you used any prescription medications just for the feeling, more than prescribed or that were not prescribed for you in past 12 months [TAPS]" - } - ], - "text": "How often have you used any prescription medications just for the feeling, more than prescribed or that were not prescribed for you in past 12 months [TAPS]" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-14T20:40:49.675000+00:00", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "valueString": "0", - "derivedFrom": [ - { - "reference": "QuestionnaireResponse/TAPS", - "display": "Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] QuestionnaireResponse Example" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-TAPS-panel-example-96841-2.json b/input/examples/Observation-TAPS-panel-example-96841-2.json deleted file mode 100644 index 914082bc..00000000 --- a/input/examples/Observation-TAPS-panel-example-96841-2.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "resourceType": "Observation", - "id": "TAPS-panel-example-96841-2", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Taps Panel Example 96841-2" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a Taps Panel Example 96841-2 (Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS]) for the *US Core Observation Screening Assessment Profile*" - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-screening-assessment" - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "96841-2", - "display": "Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS]" - } - ], - "text": "Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS]" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-14T20:40:49.675000+00:00", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "hasMember": [ - { - "reference": "Observation/TAPS-item-example-96842-0" - }, - { - "reference": "Observation/TAPS-item-example-88037-7" - }, - { - "reference": "Observation/TAPS-item-example-75889-6" - }, - { - "reference": "Observation/TAPS-item-example-96843-8" - }, - { - "reference": "Observation/TAPS-item-example-96844-6" - } - ], - "derivedFrom": [ - { - "reference": "QuestionnaireResponse/TAPS", - "display": "Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] QuestionnaireResponse Example" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-alcohol-use-status.json b/input/examples/Observation-alcohol-use-status.json deleted file mode 100644 index d64426a2..00000000 --- a/input/examples/Observation-alcohol-use-status.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "resourceType": "Observation", - "id": "alcohol-use-status", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Alcohol Use Status Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is an alcohol-use-status example for the *Simple Observation Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Simple Observations." - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "social-history", - "display": "Social History" - } - ], - "text": "Social History" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "11331-6", - "display": "History of Alcohol use" - } - ], - "text": "Alcohol use status" - }, - "subject": { - "display": "Amy Shaw", - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-03", - "performer": [ - { - "display": "Amy Shaw", - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - } - ], - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "228276006", - "display": "Occasional drinker" - } - ], - "text": "other choices - non-drinker, former drinker, current drinker" - }, - "status": "final" -} \ No newline at end of file diff --git a/input/examples/Observation-alcoholic-drinks-per-day.json b/input/examples/Observation-alcoholic-drinks-per-day.json deleted file mode 100644 index 48b57e7d..00000000 --- a/input/examples/Observation-alcoholic-drinks-per-day.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "resourceType": "Observation", - "id": "alcoholic-drinks-per-day", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Alcoholic Drinks Per Day Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is an Alcoholic Drinks Per Day example for the *Simple Observation Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Simple Observations." - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "social-history", - "display": "Social History" - } - ], - "text": "Social History" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "74013-4", - "display": "Alcoholic drinks per day" - } - ], - "text": "Alcoholic drinks per day" - }, - "subject": { - "display": "Amy Shaw", - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-03", - "performer": [ - { - "display": "Amy Shaw", - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - } - ], - "valueQuantity": { - "value": 0.0, - "unit": "# per day" - }, - "status": "final" -} \ No newline at end of file diff --git a/input/examples/Observation-average-blood-pressure.json b/input/examples/Observation-average-blood-pressure.json index d76a8f62..2cc74f62 100644 --- a/input/examples/Observation-average-blood-pressure.json +++ b/input/examples/Observation-average-blood-pressure.json @@ -1,98 +1,103 @@ { - "resourceType": "Observation", - "id": "average-blood-pressure", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-average-blood-pressure" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Average Blood Pressure Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is an average blood pressure example for the *Vitalsigns Profile*. It is based on the [Vital Signs with Qualifying Elements](http://hl7.org/fhir/us/vitals/STU1/) [Average Blood Pressure Profile](http://hl7.org/fhir/us/vitals/StructureDefinition/average-blood-pressure)." - } - ] - }, - "status": "final", - "category": [ + "resourceType": "Observation", + "id": "average-blood-pressure", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-average-blood-pressure" + ] + }, + "status": "final", + "category": [ + { + "text": "Vital Signs", + "coding": [ { - "text": "Vital Signs", - "coding": [ - { - "code": "vital-signs", - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "display": "Vital Signs" - } - ] + "code": "vital-signs", + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "display": "Vital Signs" } - ], - "code": { - "text": "Avg Blood pressure systolic and diastolic", + ] + } + ], + "code": { + "text": "Avg Blood pressure systolic and diastolic", + "coding": [ + { + "system": "http://loinc.org", + "code": "96607-7", + "display": "Blood pressure panel mean systolic and mean diastolic" + }, + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood pressure panel with all children optional" + } + ] + }, + "subject": { + "display": "Amy Shaw", + "reference": "Patient/example" + }, + "effectivePeriod": { + "start": "2023-08-03T01:06:52.480Z", + "end": "2023-08-03T13:07:01.166Z" + }, + "performer": [ + { + "reference": "Practitioner/practitioner-1" + } + ], + "component": [ + { + "code": { + "text": "Average systolic blood pressure", "coding": [ - { - "system": "http://loinc.org", - "code": "96607-7", - "display": "Blood pressure panel mean systolic and mean diastolic" - } + { + "system": "http://loinc.org", + "code": "96608-5", + "display": "Systolic blood pressure mean" + }, + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic blood pressure" + } ] + }, + "valueQuantity": { + "value": 109, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } }, - "subject": { - "display": "Amy Shaw", - "reference": "Patient/example" - }, - "effectivePeriod": { - "start": "2023-08-03T01:06:52.480Z", - "end": "2023-08-03T13:07:01.166Z" - }, - "performer": [ - { - "reference": "Practitioner/practitioner-1" - } - ], - "component": [ - { - "code": { - "text": "Average systolic blood pressure", - "coding": [ - { - "system": "http://loinc.org", - "code": "96608-5", - "display": "Systolic blood pressure mean" - } - ] - }, - "valueQuantity": { - "value": 109, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - }, - { - "code": { - "text": "Average diastolic blood pressure", - "coding": [ - { - "system": "http://loinc.org", - "code": "96609-3", - "display": "Diastolic blood pressure mean" - } - ] - }, - "valueQuantity": { - "value": 44, - "unit": "mm[Hg]", - "system": "http://unitsofmeasure.org", - "code": "mm[Hg]" - } - } - ], - "note": [ - { - "text": "Average blood pressure is calculated from 12 measurements taken over 12 hours." - } - ] -} \ No newline at end of file + { + "code": { + "text": "Average diastolic blood pressure", + "coding": [ + { + "system": "http://loinc.org", + "code": "96609-3", + "display": "Diastolic blood pressure mean" + }, + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic blood pressure" + } + ] + }, + "valueQuantity": { + "value": 44, + "unit": "mm[Hg]", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ], + "note": [ + { + "text": "Average blood pressure is calculated from 12 measurements taken over 12 hours." + } + ] +} diff --git a/input/examples/Observation-care-experience-preference.json b/input/examples/Observation-care-experience-preference.json deleted file mode 100644 index 30989797..00000000 --- a/input/examples/Observation-care-experience-preference.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "resourceType": "Observation", - "id": "care-experience-preference", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Care Experience Preference Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is an care experience preference example for the *Care Experience Profile*. It is based on the *US Core Simple Observation Profile*." - } - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-category", - "code": "care-experience-preference", - "display": "Care experience preference" - } - ], - "text": "Care Experience Preference" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "95541-9", - "display": "Care experience preference" - } - ], - "text": "Care Experience Preference" - }, - "subject": { - "display": "Amy Shaw", - "reference": "Patient/example" - }, - "effectiveDateTime": "2023-08-30", - "valueString": "For critical or end-of-life care, here are some examples of the things that I would like to have near me, music that I\u2019d like to hear, and other details of my care that would help to keep me happy and relaxed: Like Bach, especially the cantatas. St. Martin in the Fields", - "derivedFrom": [ - { - "display": "Patient's hand written document (e.g., letter, note) or form technically a DocumentReference of an image of the document", - "reference": "http://example.org/fhir/DocumentReference/source_document" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-exercise-per-day.json b/input/examples/Observation-exercise-per-day.json deleted file mode 100644 index 35d09fce..00000000 --- a/input/examples/Observation-exercise-per-day.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "resourceType": "Observation", - "id": "exercise-per-day", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Exercise Per Day Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is an minutes exercise per day example for the *Simple Observation Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Simple Observations." - } - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "social-history", - "display": "Social History" - } - ], - "text": "Social History" - }, - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "activity", - "display": "Activity" - } - ], - "text": "Physical Activity" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "68516-4", - "display": "On those days that you engage in moderate to strenuous exercise, how many minutes, on average, do you exercise" - } - ], - "text": "Exercise Minutes Per Day" - }, - "subject": { - "display": "Amy Shaw", - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-03", - "performer": [ - { - "display": "Amy Shaw", - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - } - ], - "valueQuantity": { - "value": 60, - "unit": "minutes per day", - "system": "http://unitsofmeasure.org", - "code": "min/d" - } -} \ No newline at end of file diff --git a/input/examples/Observation-exercise-per-week.json b/input/examples/Observation-exercise-per-week.json deleted file mode 100644 index 92421d03..00000000 --- a/input/examples/Observation-exercise-per-week.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "resourceType": "Observation", - "id": "exercise-per-week", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Exercise Per Week Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a days exercise per week example for the *Simple Observation Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Simple Observations." - } - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "social-history", - "display": "Social History" - } - ], - "text": "Social History" - }, - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "activity", - "display": "Activity" - } - ], - "text": "Physical Activity" - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "89555-7", - "display": "How many days per week did you engage in moderate to strenuous physical activity in the last 30 days" - } - ], - "text": "Exercise Days Per Week" - }, - "subject": { - "display": "Amy Shaw", - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-03", - "performer": [ - { - "display": "Amy Shaw", - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - } - ], - "valueQuantity": { - "value": 3, - "unit": "days per week", - "system": "http://unitsofmeasure.org", - "code": "d/wk" - } -} \ No newline at end of file diff --git a/input/examples/Observation-intervention-preference.json b/input/examples/Observation-intervention-preference.json deleted file mode 100644 index 3743db52..00000000 --- a/input/examples/Observation-intervention-preference.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "resourceType": "Observation", - "id": "intervention-preference", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Treatment Intervention Preference Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is an intervention preference example for the *Treatment Intervention Profile*. It is based on the *US Core Simple Observation Profile*." - } - ] - }, - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-category", - "code": "treatment-intervention-preference", - "display": "Treatment Intervention preference" - } - ], - "text": "Treatment Intervention Preference" - } - ], - "code": { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-category", - "code": "intervention-preference", - "display": "Intervention Preference" - } - ], - "text": "Treatment Intervention Preference" - }, - "subject": { - "display": "Amy Shaw", - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-30", - "valueString": "If I am having significant pain or suffering, I would like my doctors to consult a Supportive and Palliative Care Team to help treat my physical, emotional and spiritual discomfort, and to support my family.", - "derivedFrom": [ - { - "display": "Patient's hand written document (e.g., letter, note) or form - technically a DocumentReference of an image of the document", - "reference": "http://example.org/fhir/DocumentReference/source_document" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-medication-adherence-oral-axid-boolean.json b/input/examples/Observation-medication-adherence-oral-axid-boolean.json deleted file mode 100644 index 444bde8f..00000000 --- a/input/examples/Observation-medication-adherence-oral-axid-boolean.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "resourceType": "Observation", - "id": "medication-adherence-oral-axid-boolean", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Observation Medication Adherence Oral Axid (Prescribed) Using Boolean Code Value Pair Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a medication adherance for a prescribed medication example using Observation. The code uses LOINC with an Ordinal scale and value use boolean values and the MedicationRequest is reference using the basedOn element." - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" - ] - }, - "basedOn": [ - { - "reference": "http://www.hl7.org/fhir/us/core/MedicationRequest/medicationrequest-coded-oral-axid", - "display": "Oral Axid" - } - ], - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "71799-1", - "display": "Adherence to prescribed medication instructions [Reported]" - } - ] - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2023-08-11T06:14:22.931Z", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "valueBoolean": true -} \ No newline at end of file diff --git a/input/examples/Observation-medication-adherence-oral-axid.json b/input/examples/Observation-medication-adherence-oral-axid.json deleted file mode 100644 index f3915543..00000000 --- a/input/examples/Observation-medication-adherence-oral-axid.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "resourceType": "Observation", - "id": "medication-adherence-oral-axid", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Observation Medication Adherence Oral Axid (Prescribed) Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a medication adherance for a prescribed medication example using Observation. Both the code and value use SNOMED CT and the MedicationRequest is reference using the basedOn element." - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" - ] - }, - "basedOn": [ - { - "reference": "http://www.hl7.org/fhir/us/core/MedicationRequest/medicationrequest-coded-oral-axid", - "display": "Oral Axid" - } - ], - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/731000124108", - "code": "418633004", - "display": "Medication adherence" - } - ] - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2023-08-11T06:14:22.931Z", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/731000124108", - "code": "129019007", - "display": "Taking medication" - } - ] - } -} \ No newline at end of file diff --git a/input/examples/Observation-medication-adherence-self-tylenol.json b/input/examples/Observation-medication-adherence-self-tylenol.json deleted file mode 100644 index 44212933..00000000 --- a/input/examples/Observation-medication-adherence-self-tylenol.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "resourceType": "Observation", - "id": "medication-adherence-self-tylenol", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Observation Medication Adherence Self Tylenol (OTC) Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a medication adherance for a self-prescribed OTC medication example using Observation. Both the code and value use SNOMED CT and the MedicationRequest is reference using the basedOn element." - } - ], - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" - ] - }, - "basedOn": [ - { - "reference": "http://www.hl7.org/fhir/us/core/MedicationRequest/self-tylenol", - "display": "Self Prescribed Tylenol" - } - ], - "status": "final", - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "survey", - "display": "Survey" - } - ] - } - ], - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/731000124108", - "code": "418633004", - "display": "Medication adherence" - } - ] - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2023-08-11T06:14:22.931Z", - "performer": [ - { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1" - } - ], - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/731000124108", - "code": "266710000", - "display": "Drugs not taken/completed" - } - ] - } -} \ No newline at end of file diff --git a/input/examples/Observation-serum-glucose.json b/input/examples/Observation-serum-glucose.json deleted file mode 100644 index 1cc881c5..00000000 --- a/input/examples/Observation-serum-glucose.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "category": [ - { - "coding": [ - { - "code": "laboratory", - "display": "Laboratory", - "system": "http://terminology.hl7.org/CodeSystem/observation-category" - } - ], - "text": "Laboratory" - } - ], - "code": { - "coding": [ - { - "code": "2345-7", - "display": "Glucose SerPl-mCnc", - "system": "http://loinc.org" - } - ], - "text": "Glucose SerPl-mCnc" - }, - "effectiveDateTime": "2023-08-04", - "id": "serum-glucose", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Serum Glucose Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a serum glucose example for the *US Core Observation Lab Profile*." - } - ], - "profile": [ - "http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-observation-lab" - ], - "versionId": "1165" - }, - "referenceRange": [ - { - "high": { - "code": "mg/dL", - "system": "http://unitsofmeasure.org", - "unit": "mg/dL", - "value": 109.0 - }, - "low": { - "code": "mg/dL", - "system": "http://unitsofmeasure.org", - "unit": "mg/dL", - "value": 40.0 - }, - "type": { - "coding": [ - { - "code": "normal", - "display": "Normal Range", - "system": "http://terminology.hl7.org/CodeSystem/referencerange-meaning" - } - ], - "text": "Normal Range" - } - } - ], - "resourceType": "Observation", - "status": "final", - "subject": { - "display": "Amy Shaw", - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "valueQuantity": { - "system": "http://unitsofmeasure.org", - "unit": "mg/dL", - "value": 76.0 - }, - "specimen": { - "reference": "Specimen/example-serum-hemolyzed", - "display": "Serum specimen" - }, - "interpretation": [ - { - "coding": [ - { - "code": "N", - "display": "Normal", - "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation" - } - ], - "text": "Normal" - } - ] -} \ No newline at end of file diff --git a/input/examples/Observation-substance-use-status.json b/input/examples/Observation-substance-use-status.json deleted file mode 100644 index 266bd524..00000000 --- a/input/examples/Observation-substance-use-status.json +++ /dev/null @@ -1,120 +0,0 @@ -{ - "resourceType": "Observation", - "id": "substance-use-status", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Substance Use Status Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is an Substance-use-status example for the *Simple Observation Profile*. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Simple Observations." - } - ] - }, - "category": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "social-history", - "display": "Social History" - } - ], - "text": "Social History" - } - ], - "identifier": [ - { - "system": "urn:oid:2.16.840.1.113883.2.4.3.11.999.7.6", - "value": "19a199c7-8fdf-11ec-9837-020000000000" - } - ], - "status": "final", - "code": { - "coding": [ - { - "system": "http://loinc.org", - "code": "11343-1", - "display": "History of Other nonmedical drug use" - }, - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/731000124108", - "code": "228366006", - "display": "Finding relating to drug misuse behavior (finding)" - } - ], - "text": "Substance use status" - }, - "subject": { - "display": "Amy Shaw", - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "effectiveDateTime": "2023-08-03", - "performer": [ - { - "display": "Amy Shaw", - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - } - ], - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "44870007", - "display": "Misused drugs in past (finding)" - } - ], - "text": "other possible values - Misuses drugs (finding), Does not misuse drugs (finding), Has never misused drugs" - }, - "note": [ - { - "text": "At parties" - } - ], - "component": [ - { - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/731000124108", - "code": "410942007", - "display": "Drug or medicament (substance)" - } - ], - "text": "Drug or medicament" - }, - "valueCodeableConcept": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/731000124108", - "code": "703842006", - "display": "Amphetamine" - } - ], - "text": "Amphetamine" - } - }, - { - "code": { - "coding": [ - { - "system": "http://snomed.info/sct", - "version": "http://snomed.info/sct/731000124108", - "code": "228390007", - "display": "Frequency of drug misuse (observable entity)" - } - ], - "text": "Frequency of drug misuse" - }, - "valueString": "3 times a year" - } - ] -} \ No newline at end of file diff --git a/input/examples/Procedure-R4-defib-implant.json b/input/examples/Procedure-R4-defib-implant.json deleted file mode 100644 index df727d26..00000000 --- a/input/examples/Procedure-R4-defib-implant.json +++ /dev/null @@ -1,72 +0,0 @@ -{ - "resourceType": "Procedure", - "id": "defib-implant", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Procedure Defibrillator Implant Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This *US Core Procedure Profile* is an example of an Defibrillator implant Procedure. In this example, the reason for a referral is communicated through `Procedure.code'." - } - ] - }, - "identifier": [ - { - "system": "urn:ietf:rfc:3986", - "value": "urn:uuid:b2a737f2-2fdb-49c1-b097-dac173d07aff" - } - ], - "status": "completed", - "code": { - "coding": [ - { - "system": "http://www.ama-assn.org/go/cpt", - "code": "33249" - } - ], - "text": "Insertion or replacement of permanent implantable defibrillator system with transvenous lead(s), single or dual chamber" - }, - "subject": { - "reference": "Patient/example" - }, - "encounter": { - "reference": "Encounter/example-1", - "display": "Office Visit" - }, - "performedPeriod": { - "start": "2019-03-26T12:55:26-07:00", - "end": "2019-03-26T13:25:26-07:00" - }, - "performer": [ - { - "actor": { - "reference": "Practitioner/practitioner-1" - } - } - ], - "reasonCode": [ - { - "coding": [ - { - "system": "http://hl7.org/fhir/sid/icd-10-cm", - "code": "I49.01", - "display": "Ventricular fibrillation" - } - ], - "text": "Ventricular fibrillation" - } - ], - "focalDevice": [ - { - "manipulated": { - "reference": "Device/udi-2" - } - } - ] -} \ No newline at end of file diff --git a/input/examples/Questionnaire-AUDIT-C.json b/input/examples/Questionnaire-AUDIT-C.json deleted file mode 100644 index 05013310..00000000 --- a/input/examples/Questionnaire-AUDIT-C.json +++ /dev/null @@ -1,357 +0,0 @@ -{ - "code": [ - { - "code": "72109-2", - "display": "Alcohol Use Disorder Identification Test - Consumption [AUDIT-C]", - "system": "http://loinc.org" - } - ], - "title": "Alcohol Use Disorder Identification Test - Consumption [AUDIT-C]", - "resourceType": "Questionnaire", - "id": "AUDIT-C", - "url": "http://hl7.org/fhir/us/core/Questionnaire/AUDIT-C", - "name": "AUDIT_C", - "status": "active", - "experimental": true, - "subjectType": [ - "Patient" - ], - "date": "2023-08-14", - "meta": { - "profile": [ - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] Questionnaire Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] questionnaire example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources." - } - ] - }, - "item": [ - { - "type": "decimal", - "code": [ - { - "code": "68517-2", - "display": "How many times in the past year have you have X or more drinks in a day?", - "system": "http://loinc.org" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", - "valueCoding": { - "code": "{#}/a", - "display": "{#}/a", - "system": "http://unitsofmeasure.org" - } - } - ], - "required": false, - "linkId": "/68517-2", - "text": "How many times in the past year have you have X or more drinks in a day?", - "item": [ - { - "text": "Where X is 5 for men and 4 for women, and a response of greater than, or equal to, 1 is positive.", - "type": "display", - "linkId": "/68517-2-help", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "text": "Help-Button", - "coding": [ - { - "code": "help", - "display": "Help-Button", - "system": "http://hl7.org/fhir/questionnaire-item-control" - } - ] - } - } - ] - } - ] - }, - { - "type": "choice", - "code": [ - { - "code": "68519-8", - "display": "How many standard drinks containing alcohol do you have on a typical day?", - "system": "http://loinc.org" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "drop-down", - "display": "Drop down" - } - ], - "text": "Drop down" - } - } - ], - "required": false, - "linkId": "/68519-8", - "text": "How many standard drinks containing alcohol do you have on a typical day?", - "answerOption": [ - { - "valueCoding": { - "code": "LA15694-5", - "display": "1 or 2", - "system": "http://loinc.org" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix", - "valueString": "0" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/ordinalValue", - "valueDecimal": 0 - } - ] - }, - { - "valueCoding": { - "code": "LA15695-2", - "display": "3 or 4", - "system": "http://loinc.org" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix", - "valueString": "1" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/ordinalValue", - "valueDecimal": 1 - } - ] - }, - { - "valueCoding": { - "code": "LA18930-0", - "display": "5 or 6", - "system": "http://loinc.org" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix", - "valueString": "2" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/ordinalValue", - "valueDecimal": 2 - } - ] - }, - { - "valueCoding": { - "code": "LA18931-8", - "display": "7 to 9", - "system": "http://loinc.org" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix", - "valueString": "3" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/ordinalValue", - "valueDecimal": 3 - } - ] - }, - { - "valueCoding": { - "code": "LA18932-6", - "display": "10 or more", - "system": "http://loinc.org" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix", - "valueString": "4" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/ordinalValue", - "valueDecimal": 4 - } - ] - } - ] - }, - { - "type": "choice", - "code": [ - { - "code": "68520-6", - "display": "How often do you have 6 or more drinks on 1 occasion?", - "system": "http://loinc.org" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "drop-down", - "display": "Drop down" - } - ], - "text": "Drop down" - } - } - ], - "required": false, - "linkId": "/68520-6", - "text": "How often do you have 6 or more drinks on 1 occasion?", - "answerOption": [ - { - "valueCoding": { - "code": "LA6270-8", - "display": "Never", - "system": "http://loinc.org" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix", - "valueString": "0" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/ordinalValue", - "valueDecimal": 0 - } - ] - }, - { - "valueCoding": { - "code": "LA18933-4", - "display": "Less than monthly", - "system": "http://loinc.org" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix", - "valueString": "1" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/ordinalValue", - "valueDecimal": 1 - } - ] - }, - { - "valueCoding": { - "code": "LA18876-5", - "display": "Monthly", - "system": "http://loinc.org" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix", - "valueString": "2" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/ordinalValue", - "valueDecimal": 2 - } - ] - }, - { - "valueCoding": { - "code": "LA18891-4", - "display": "Weekly", - "system": "http://loinc.org" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix", - "valueString": "3" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/ordinalValue", - "valueDecimal": 3 - } - ] - }, - { - "valueCoding": { - "code": "LA18934-2", - "display": "Daily or almost daily", - "system": "http://loinc.org" - }, - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix", - "valueString": "4" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/ordinalValue", - "valueDecimal": 4 - } - ] - } - ] - }, - { - "type": "decimal", - "code": [ - { - "code": "75626-2", - "display": "Total score [AUDIT-C]", - "system": "http://loinc.org" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", - "valueCoding": { - "code": "{score}", - "display": "{score}", - "system": "http://unitsofmeasure.org" - } - } - ], - "required": false, - "linkId": "/75626-2", - "text": "Total score [AUDIT-C]", - "item": [ - { - "text": "The Alcohol Use Disorders Identification Test C (AUDIT-C) is scored on a scale of 0-12 where the higher the score, the more likely the patient's drinking is hazardous. A score of 4 or more for men and 3 or more for women is considered positive for hazardous drinking or active alcohol use disorders. If the points are all from Question 1 alone where 2 and 3 are 0, it is likely the patient is drinking below recommended limits. The care provider may review the patients alcohol intake over that past few months to confirm accuracy. [PMID: 12695273]", - "type": "display", - "linkId": "/75626-2-help", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "text": "Help-Button", - "coding": [ - { - "code": "help", - "display": "Help-Button", - "system": "http://hl7.org/fhir/questionnaire-item-control" - } - ] - } - } - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/input/examples/Questionnaire-TAPS.json b/input/examples/Questionnaire-TAPS.json deleted file mode 100644 index 433de525..00000000 --- a/input/examples/Questionnaire-TAPS.json +++ /dev/null @@ -1,354 +0,0 @@ -{ - "code": [ - { - "code": "96841-2", - "display": "Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS]", - "system": "http://loinc.org" - } - ], - "title": "Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS]", - "resourceType": "Questionnaire", - "id": "TAPS", - "url": "http://hl7.org/fhir/us/core/Questionnaire/TAPS", - "name": "TAPS", - "status": "active", - "experimental": true, - "subjectType": [ - "Patient" - ], - "date": "2023-08-14", - "meta": { - "profile": [ - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] Questionnaire Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] questionnaire example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources." - } - ] - }, - "item": [ - { - "type": "choice", - "code": [ - { - "code": "96842-0", - "display": "How often have you used any tobacco product in past 12 months", - "system": "http://loinc.org" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "drop-down", - "display": "Drop down" - } - ], - "text": "Drop down" - } - } - ], - "required": false, - "linkId": "/96842-0", - "text": "How often have you used any tobacco product in past 12 months", - "answerOption": [ - { - "valueCoding": { - "code": "LA18934-2", - "display": "Daily or almost daily", - "system": "http://loinc.org" - } - }, - { - "valueCoding": { - "code": "LA18891-4", - "display": "Weekly", - "system": "http://loinc.org" - } - }, - { - "valueCoding": { - "code": "LA18876-5", - "display": "Monthly", - "system": "http://loinc.org" - } - }, - { - "valueCoding": { - "code": "LA18933-4", - "display": "Less than monthly", - "system": "http://loinc.org" - } - }, - { - "valueCoding": { - "code": "LA6270-8", - "display": "Never", - "system": "http://loinc.org" - } - } - ] - }, - { - "type": "choice", - "code": [ - { - "code": "88037-7", - "display": "How often have you had five or more drinks in one day during the past year [Reported]", - "system": "http://loinc.org" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "drop-down", - "display": "Drop down" - } - ], - "text": "Drop down" - } - } - ], - "required": false, - "linkId": "/88037-7", - "text": "How often have you had five or more drinks in one day during the past year [Reported]", - "answerOption": [ - { - "valueCoding": { - "code": "LA18934-2", - "display": "Daily or almost daily", - "system": "http://loinc.org" - } - }, - { - "valueCoding": { - "code": "LA18891-4", - "display": "Weekly", - "system": "http://loinc.org" - } - }, - { - "valueCoding": { - "code": "LA18876-5", - "display": "Monthly", - "system": "http://loinc.org" - } - }, - { - "valueCoding": { - "code": "LA18933-4", - "display": "Less than monthly", - "system": "http://loinc.org" - } - }, - { - "valueCoding": { - "code": "LA6270-8", - "display": "Never", - "system": "http://loinc.org" - } - } - ], - "item": [ - { - "text": "Some measures (like electronic Clinical Quality Measure (eCQM) used by CMS) define \"risky drinker\" differently based on gender: 4 or more drinks per day for women and 5 or more drinks per day for men. The LOINC for 4 or more drinks per day is [LOINC: 75889-6].", - "type": "display", - "linkId": "/88037-7-help", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "text": "Help-Button", - "coding": [ - { - "code": "help", - "display": "Help-Button", - "system": "http://hl7.org/fhir/questionnaire-item-control" - } - ] - } - } - ] - } - ] - }, - { - "type": "choice", - "code": [ - { - "code": "75889-6", - "display": "How often have you had four or more drinks in one day during the past year [Reported]", - "system": "http://loinc.org" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "drop-down", - "display": "Drop down" - } - ], - "text": "Drop down" - } - } - ], - "required": false, - "linkId": "/75889-6", - "text": "How often have you had four or more drinks in one day during the past year [Reported]", - "answerOption": [ - { - "valueCoding": { - "code": "LA18934-2", - "display": "Daily or almost daily", - "system": "http://loinc.org" - } - }, - { - "valueCoding": { - "code": "LA18891-4", - "display": "Weekly", - "system": "http://loinc.org" - } - }, - { - "valueCoding": { - "code": "LA18876-5", - "display": "Monthly", - "system": "http://loinc.org" - } - }, - { - "valueCoding": { - "code": "LA18933-4", - "display": "Less than monthly", - "system": "http://loinc.org" - } - }, - { - "valueCoding": { - "code": "LA6270-8", - "display": "Never", - "system": "http://loinc.org" - } - } - ], - "item": [ - { - "text": "A question asked to determine if the patient is considered a 'risky drinker'. This term was created for, but not limited in use to, an electronic Clinical Quality Measure (eCQM) to be used in the CMS EHR Incentive Program for Meaningful Use. The eCQM allows for multiple ways to screen for alcohol misuse, including AUDIT-C [LOINC: 75626-2] or one of two questions that assess whether the patient consumes alcohol [LOINC: 75855-7] and the frequency of heavy drinking days (this LOINC). The LOINC for five (5) or more drinks per day is [LOINC: 88037-7].", - "type": "display", - "linkId": "/75889-6-help", - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "text": "Help-Button", - "coding": [ - { - "code": "help", - "display": "Help-Button", - "system": "http://hl7.org/fhir/questionnaire-item-control" - } - ] - } - } - ] - } - ] - }, - { - "type": "choice", - "code": [ - { - "code": "96843-8", - "display": "How often have you used illegal or recreational drugs in past 12 months", - "system": "http://loinc.org" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/questionnaire-item-control", - "code": "drop-down", - "display": "Drop down" - } - ], - "text": "Drop down" - } - } - ], - "required": false, - "linkId": "/96843-8", - "text": "How often have you used illegal or recreational drugs in past 12 months", - "answerOption": [ - { - "valueCoding": { - "code": "LA18934-2", - "display": "Daily or almost daily", - "system": "http://loinc.org" - } - }, - { - "valueCoding": { - "code": "LA18891-4", - "display": "Weekly", - "system": "http://loinc.org" - } - }, - { - "valueCoding": { - "code": "LA18876-5", - "display": "Monthly", - "system": "http://loinc.org" - } - }, - { - "valueCoding": { - "code": "LA18933-4", - "display": "Less than monthly", - "system": "http://loinc.org" - } - }, - { - "valueCoding": { - "code": "LA6270-8", - "display": "Never", - "system": "http://loinc.org" - } - } - ] - }, - { - "type": "string", - "code": [ - { - "code": "96844-6", - "display": "How often have you used any prescription medications just for the feeling, more than prescribed or that were not prescribed for you in past 12 months [TAPS]", - "system": "http://loinc.org" - } - ], - "required": false, - "linkId": "/96844-6", - "text": "How often have you used any prescription medications just for the feeling, more than prescribed or that were not prescribed for you in past 12 months [TAPS]" - } - ] -} \ No newline at end of file diff --git a/input/examples/Questionnaire-exercise-vital-sign.json b/input/examples/Questionnaire-exercise-vital-sign.json deleted file mode 100644 index f980db61..00000000 --- a/input/examples/Questionnaire-exercise-vital-sign.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "resourceType": "Questionnaire", - "id": "exercise-vital-sign", - "meta": { - "profile": [ - "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Exercise Vital Sign Questionnaire Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is the [LHC Form](https://loinc.org/lhc-forms/) Exercise Vital Sign (EVS) Questionnaire Example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources." - } - ] - }, - "url": "http://hl7.org/fhir/us/core/Questionnaire/exercise-vital-sign", - "name": "ExerciseVitalSign", - "title": "Exercise Vital Sign (EVS)", - "status": "active", - "experimental": true, - "subjectType": [ - "Patient" - ], - "date": "2023-08-03", - "code": [ - { - "system": "http://loinc.org", - "code": "89574-8", - "display": "Exercise Vital Sign (EVS)" - } - ], - "item": [ - { - "type": "decimal", - "code": [ - { - "code": "89555-7", - "system": "http://loinc.org", - "display": "How many days per week did you engage in moderate to strenuous physical activity in the last 30 days" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", - "valueCoding": { - "code": "d/wk", - "display": "d/wk", - "system": "http://unitsofmeasure.org" - } - } - ], - "required": false, - "linkId": "/89555-7", - "text": "How many D per W did you engage in moderate to strenuous physical activity in the last 30D" - }, - { - "type": "decimal", - "code": [ - { - "code": "68516-4", - "system": "http://loinc.org", - "display": "On those days that you engage in moderate to strenuous exercise, how many minutes, on average, do you exercise?" - } - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-unit", - "valueCoding": { - "code": "min/d", - "display": "min/d", - "system": "http://unitsofmeasure.org" - } - } - ], - "required": false, - "linkId": "/68516-4", - "text": "On those days that you engage in moderate to strenuous exercise, how many minutes, on average, do you exercise?" - } - ] -} \ No newline at end of file diff --git a/input/examples/QuestionnaireResponse-AUDIT-C.json b/input/examples/QuestionnaireResponse-AUDIT-C.json deleted file mode 100644 index 49c49f4a..00000000 --- a/input/examples/QuestionnaireResponse-AUDIT-C.json +++ /dev/null @@ -1,76 +0,0 @@ -{ - "resourceType": "QuestionnaireResponse", - "id": "AUDIT-C", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is the [LHC Form](https://loinc.org/lhc-forms/) Alcohol Use Disorder Identification Test - Consumption [AUDIT-C] QuestionnaireResponse example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources." - } - ] - }, - "questionnaire": "http://hl7.org/fhir/us/core/Questionnaire/AUDIT-C", - "status": "completed", - "subject": { - "display": "Amy Shaw", - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "authored": "2023-08-14T20:40:49.675Z", - "author": { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1", - "type": "Practitioner" - }, - "item": [ - { - "linkId": "/68517-2", - "text": "How many times in the past year have you have X or more drinks in a day?", - "answer": [ - { - "valueDecimal": 0 - } - ] - }, - { - "linkId": "/68519-8", - "text": "How many standard drinks containing alcohol do you have on a typical day?", - "answer": [ - { - "valueCoding": { - "system": "http://loinc.org", - "code": "LA15694-5", - "display": "1 or 2" - } - } - ] - }, - { - "linkId": "/68520-6", - "text": "How often do you have 6 or more drinks on 1 occasion?", - "answer": [ - { - "valueCoding": { - "system": "http://loinc.org", - "code": "LA6270-8", - "display": "Never" - } - } - ] - }, - { - "linkId": "/75626-2", - "text": "Total score [AUDIT-C]", - "answer": [ - { - "valueDecimal": 0 - } - ] - } - ] -} \ No newline at end of file diff --git a/input/examples/QuestionnaireResponse-TAPS.json b/input/examples/QuestionnaireResponse-TAPS.json deleted file mode 100644 index 3f9261b1..00000000 --- a/input/examples/QuestionnaireResponse-TAPS.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "resourceType": "QuestionnaireResponse", - "id": "TAPS", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] QuestionnaireResponse Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is the [LHC Form](https://loinc.org/lhc-forms/) Tobacco, Alcohol, Prescription medications, and other Substance use screen [TAPS] QuestionnaireResponse example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources." - } - ] - }, - "questionnaire": "http://hl7.org/fhir/us/core/Questionnaire/TAPS", - "status": "completed", - "subject": { - "display": "Amy Shaw", - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "authored": "2023-08-14T20:40:49.675Z", - "author": { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1", - "type": "Practitioner" - }, - "item": [ - { - "linkId": "/96842-0", - "text": "How often have you used any tobacco product in past 12 months", - "answer": [ - { - "valueCoding": { - "system": "http://loinc.org", - "code": "LA6270-8", - "display": "Never" - } - } - ] - }, - { - "linkId": "/88037-7", - "text": "How often have you had five or more drinks in one day during the past year [Reported]", - "answer": [ - { - "valueCoding": { - "system": "http://loinc.org", - "code": "LA6270-8", - "display": "Never" - } - } - ] - }, - { - "linkId": "/75889-6", - "text": "How often have you had four or more drinks in one day during the past year [Reported]", - "answer": [ - { - "valueCoding": { - "system": "http://loinc.org", - "code": "LA6270-8", - "display": "Never" - } - } - ] - }, - { - "linkId": "/96843-8", - "text": "How often have you used illegal or recreational drugs in past 12 months", - "answer": [ - { - "valueCoding": { - "system": "http://loinc.org", - "code": "LA6270-8", - "display": "Never" - } - } - ] - }, - { - "linkId": "/96844-6", - "text": "How often have you used any prescription medications just for the feeling, more than prescribed or that were not prescribed for you in past 12 months [TAPS]", - "answer": [ - { - "valueString": "0" - } - ] - } - ] -} \ No newline at end of file diff --git a/input/examples/QuestionnaireResponse-exercise-vital-sign.json b/input/examples/QuestionnaireResponse-exercise-vital-sign.json deleted file mode 100644 index 58b4cad2..00000000 --- a/input/examples/QuestionnaireResponse-exercise-vital-sign.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "resourceType": "QuestionnaireResponse", - "id": "exercise-vital-sign", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Exercise Vital Sign QuestionnaireResponse Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is the [LHC Form](https://loinc.org/lhc-forms/) Exercise Vital Sign (EVS) QuestionnaireResponse Example. It is based on the on US Core [Screening and Assessments](http://hl7.org/fhir/us/core/screening-and-assessments.html) guidance using Questionnaire/QuestionnaireResponse resources." - } - ] - }, - "questionnaire": "http://hl7.org/fhir/us/core/Questionnaire/exercise-vital-sign", - "status": "completed", - "subject": { - "display": "Amy Shaw", - "reference": "http://www.hl7.org/fhir/us/core/Patient/example" - }, - "authored": "2023-08-04T03:52:52.685Z", - "author": { - "reference": "https://www.hl7.org/fhir/us/core/Practitioner/practitioner-1", - "type": "Practitioner" - }, - "item": [ - { - "linkId": "/89555-7", - "text": "How many D per W did you engage in moderate to strenuous physical activity in the last 30D", - "answer": [ - { - "valueDecimal": 3 - } - ] - }, - { - "linkId": "/68516-4", - "text": "On those days that you engage in moderate to strenuous exercise, how many minutes, on average, do you exercise?", - "answer": [ - { - "valueDecimal": 60 - } - ] - } - ] -} \ No newline at end of file diff --git a/input/examples/Specimen-example-serum-hemolyzed.json b/input/examples/Specimen-example-serum-hemolyzed.json deleted file mode 100644 index 3c1d06a4..00000000 --- a/input/examples/Specimen-example-serum-hemolyzed.json +++ /dev/null @@ -1,80 +0,0 @@ -{ - "resourceType": "Specimen", - "id": "example-serum-hemolyzed", - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Hemolyzed Serum Specimen Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is a serum specimen example for the *US Core Specimen Profile*. It demonstrates the use of the USCDI requirements for specimen condition and body source site." - } - ] - }, - "accessionIdentifier": { - "system": "http://acme.com/labs/accession-ids", - "value": "20220927-00124" - }, - "type": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "119364003", - "display": "Serum sample", - "version": "http://snomed.info/sct/731000124108" - }, - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0487", - "code": "SER", - "display": "Serum" - } - ] - }, - "subject": { - "reference": "Patient/example" - }, - "collection": { - "collectedDateTime": "2022-09-27T18:07:12Z", - "bodySite": { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "368209003", - "display": "Right arm", - "version": "http://snomed.info/sct/731000124108" - } - ], - "text": "Right arm" - } - }, - "container": [ - { - "type": { - "text": "Serum Separator Tube" - } - } - ], - "identifier": [ - { - "system": "http://acme.com/labs/accession-ids", - "value": "20220927-00124" - } - ], - "condition": [ - { - "text": "Hemolyzed", - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v2-0493", - "code": "HEM", - "display": "Hemolyzed" - } - ] - } - ] -} \ No newline at end of file diff --git a/input/examples/location-hospital.json b/input/examples/location-hospital.json deleted file mode 100644 index 2b07d987..00000000 --- a/input/examples/location-hospital.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "resourceType": "Location", - "id": "hospital", - "meta": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "Hospital Location" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This is an example hospital location for the *US Core Location Profile*." - } - ], - "profile": [ - "http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-location" - ] - }, - "identifier": [ - { - "system": "http://hl7.org/fhir/sid/us-npi", - "value": "1234567893" - } - ], - "status": "active", - "name": "Holy Family Hospital", - "type": [ - { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode", - "code": "HOSP", - "display": "Hospital" - } - ], - "text": "Hospital" - } - ], - "telecom": [ - { - "system": "phone", - "value": "9786870156" - } - ], - "address": { - "line": [ - "70 EAST STREET" - ], - "city": "METHUEN", - "state": "MA", - "postalCode": "01844", - "country": "US" - }, - "managingOrganization": { - "reference": "http://www.hl7.org/fhir/us/core/Organization/holy-healthcare", - "display": "Holy Healthcare" - } -} \ No newline at end of file diff --git a/input/examples/medicationrequest-self-tylenol-with-compliance.json b/input/examples/medicationrequest-self-tylenol-with-compliance.json deleted file mode 100644 index 1692154b..00000000 --- a/input/examples/medicationrequest-self-tylenol-with-compliance.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "resourceType": "MedicationRequest", - "id": "self-tylenol-with-compliance", - "identifier": [ - { - "use": "official", - "system": "http://acme.org/prescriptions", - "value": "12345689" - } - ], - "status": "active", - "intent": "plan", - "reportedBoolean": true, - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "1187314", - "display": "Tylenol PM Pill" - } - ], - "text": "Tylenol PM Pill" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example", - "display": "Amy V. Shaw" - }, - "encounter": { - "reference": "http://www.hl7.org/fhir/us/core/Encounter/example-1", - "display": "Office Visit" - }, - "authoredOn": "2019-06-24", - "requester": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example", - "display": "**self-prescribed**" - }, - "dosageInstruction": [ - { - "text": "Takes 1-2 tablets once daily at bedtime as needed for restless legs" - } - ], - "meta": { - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "MedicationRequest Self Tylenol with Compliance Extension Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This example demonstrates medication adherence for a self-prescribed Tylenol example for the using an extension on the MedicationRequest. The extension value uses SNOMED CT." - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "32914008", - "display": "Restless legs (disorder) |", - "version": "http://snomed.info/sct/731000124108" - } - ], - "text": "Restless Leg Syndrome" - } - ], - "extension": [ - { - "extension": [ - { - "url": "medAdherence", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/CodeSystem/medication-statement-adherence", - "code": "unknown", - "display": "Unknown" - } - ] - } - }, - { - "url": "timeStamp", - "valueDateTime": "2023-08-11T08:15:49.449Z" - }, - { - "url": "reporter", - "valueReference": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example", - "display": "Amy Shaw" - } - } - ], - "url": "http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationrequest-compliance-extension" - } - ] -} \ No newline at end of file diff --git a/input/examples/medicationstatement-self-tylenol-with-compliance.json b/input/examples/medicationstatement-self-tylenol-with-compliance.json deleted file mode 100644 index 0a6171bc..00000000 --- a/input/examples/medicationstatement-self-tylenol-with-compliance.json +++ /dev/null @@ -1,77 +0,0 @@ -{ - "resourceType": "MedicationStatement", - "id": "self-tylenol-with-compliance", - "status": "active", - "medicationCodeableConcept": { - "coding": [ - { - "system": "http://www.nlm.nih.gov/research/umls/rxnorm", - "code": "1187314", - "display": "Tylenol PM Pill" - } - ], - "text": "Tylenol PM Pill" - }, - "subject": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example", - "display": "Amy Shaw" - }, - "effectiveDateTime": "2008-04-05", - "informationSource": { - "reference": "http://www.hl7.org/fhir/us/core/Patient/example", - "display": "Amy Shaw" - }, - "dosage": [ - { - "text": "Takes 1-2 tablets once daily at bedtime as needed for restless legs" - } - ], - "meta": { - "profile": [ - "http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationstatement" - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-name", - "valueString": "MedicationStatement Self Tylenol with Compliance Extension Example" - }, - { - "url": "http://hl7.org/fhir/StructureDefinition/instance-description", - "valueMarkdown": "This example demonstrates medication adherence for a self-prescribed Tylenol example for the using an extension on the MedicationRequest. The extension value uses MedicationStatement Adherence Codes." - } - ] - }, - "reasonCode": [ - { - "coding": [ - { - "system": "http://snomed.info/sct", - "code": "32914008", - "display": "Restless legs (disorder)", - "version": "http://snomed.info/sct/731000124108" - } - ], - "text": "Restless Leg Syndrome" - } - ], - "extension": [ - { - "extension": [ - { - "url": "code", - "valueCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/CodeSystem/medication-statement-adherence", - "code": "taking", - "display": "Taking" - } - ], - "text": "Taking" - } - } - ], - "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationUsage.adherence" - } - ] -} \ No newline at end of file diff --git a/input/examples/valueset-ref-all-list.csv b/input/examples/valueset-ref-all-list.csv new file mode 100644 index 00000000..38043275 --- /dev/null +++ b/input/examples/valueset-ref-all-list.csv @@ -0,0 +1,13 @@ +URL,Version,Status,OIDs,Name,Title,Descriptino,Uses,Used,Sources +http://hl7.org/fhir/ValueSet/body-site,4.0.1,draft,"2.16.840.1.113883.4.642.3.141",SNOMEDCTBodyStructures,SNOMED CT Body Structures,"This value set includes all codes from [SNOMED CT](http://snomed.info/sct) where concept is-a 442083009 (Anatomical or acquired body site (body structure)).","StructureDefinition/us-core-average-blood-pressure","SCT" +http://hl7.org/fhir/ValueSet/data-absent-reason,4.0.1,active,"2.16.840.1.113883.4.642.3.5",DataAbsentReason,DataAbsentReason,"Used to specify why the normally expected content of the data element is missing.","StructureDefinition/us-core-average-blood-pressure","THO" +http://hl7.org/fhir/ValueSet/languages,4.0.1,draft,"2.16.840.1.113883.4.642.3.20",CommonLanguages,Common Languages,"This value set includes common codes from BCP-47 (http://tools.ietf.org/html/bcp47)","StructureDefinition/us-core-average-blood-pressure","hl7.terminology.r4" +http://hl7.org/fhir/ValueSet/observation-category,4.0.1,draft,"2.16.840.1.113883.4.642.3.403",ObservationCategoryCodes,Observation Category Codes,"Observation Category codes.","StructureDefinition/us-core-average-blood-pressure","THO" +http://hl7.org/fhir/ValueSet/observation-interpretation,4.0.1,active,"2.16.840.1.113883.4.642.3.399",ObservationInterpretationCodes,Observation Interpretation Codes,"A categorical assessment, providing a rough qualitative interpretation of the observation value, such as “normal”/ “abnormal”,”low” / “high”, “better” / “worse”, “susceptible” / “resistant”, “expected”/ “not expected”. The value set is intended to be for ANY use where coded representation of an interpretation is needed. Notes: This is being communicated in v2.x in OBX-8 (Observation Interpretation), in v3 in ObservationInterpretation (CWE) in R1 (Representative Realm) and in FHIR in Observation.interpretation. Historically these values come from the laboratory domain, and these codes are extensively used. The value set binding is extensible, so codes outside the value set that are needed for interpretation concepts (i.e. particular meanings) that are not included in the value set can be used, and these new codes may also be added to the value set and published in a future version.","StructureDefinition/us-core-average-blood-pressure","THO (V3)" +http://hl7.org/fhir/ValueSet/observation-methods,4.0.1,draft,"2.16.840.1.113883.4.642.3.395",ObservationMethods,Observation Methods,"Observation Method codes from [SNOMED CT](http://snomed.info/sct) where concept is-a 272394005 (Technique (qualifier value)) or is-a 129264002 (Action (qualifier value)) or is-a 386053000 (Evaluation procedure(procedure))","StructureDefinition/us-core-average-blood-pressure","SCT" +http://hl7.org/fhir/ValueSet/observation-status,4.0.1,active,"2.16.840.1.113883.4.642.3.400",ObservationStatus,ObservationStatus,"Codes providing the status of an observation.","StructureDefinition/us-core-average-blood-pressure","hl7.fhir.r4.core" +http://hl7.org/fhir/ValueSet/quantity-comparator,4.0.1,active,"2.16.840.1.113883.4.642.3.59",QuantityComparator,QuantityComparator,"How the Quantity should be understood and represented.","StructureDefinition/us-core-average-blood-pressure","hl7.fhir.r4.core" +http://hl7.org/fhir/ValueSet/referencerange-appliesto,4.0.1,draft,"2.16.840.1.113883.4.642.3.407",ObservationReferenceRangeAppliesToCodes,Observation Reference Range Applies To Codes,"This value set defines a set of codes that can be used to indicate the particular target population the reference range applies to.","StructureDefinition/us-core-average-blood-pressure","SCT" +http://hl7.org/fhir/ValueSet/referencerange-meaning,4.0.1,draft,"2.16.840.1.113883.4.642.3.397",ObservationReferenceRangeMeaningCodes,Observation Reference Range Meaning Codes,"This value set defines a set of codes that can be used to indicate the meaning/use of a reference range for a particular target population.","StructureDefinition/us-core-average-blood-pressure","THO" +http://hl7.org/fhir/ValueSet/ucum-vitals-common,4.0.1,draft,"2.16.840.1.113883.4.642.3.955",VitalSignsUnits,Vital Signs Units,"Common UCUM units for recording Vital Signs","StructureDefinition/us-core-average-blood-pressure","UCUM" +http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs,6.1.0,active,,UsCoreVitalSigns,US Core Vital Signs ValueSet,"The vital sign codes from the base FHIR and US Core Vital Signs.","StructureDefinition/us-core-average-blood-pressure","LOINC" diff --git a/input/images/assessments-valuesets.csv b/input/images/assessments-valuesets.csv deleted file mode 100644 index 3bf1e453..00000000 --- a/input/images/assessments-valuesets.csv +++ /dev/null @@ -1,42 +0,0 @@ -Data Class Number,USCDI Data Element,Category Code,Conformance Strength,ValueSet Name,VSAC Link,VSAC OID,Clinical Judgement,Panel,Panel Item,Comment -1,SDOH,sdoh,SHOULD,Social Determinants of Health Screening Assessments,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1247.126/expansion,2.16.840.1.113762.1.4.1247.126,FALSE,TRUE,FALSE,Set of SDOH Panel Codes -,SDOH,sdoh,SHOULD,Caregiver Availability,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1058/expansion,2.16.840.1.113762.1.4.1222.1058,FALSE,FALSE,TRUE, -,SDOH,sdoh,SHOULD,Caregiver Characteristics,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1057/expansion,2.16.840.1.113762.1.4.1222.1057,FALSE,FALSE,TRUE, -,SDOH,sdoh,SHOULD,Criminal Justice Involvement or Incarceration History,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1082/expansion,2.16.840.1.113762.1.4.1222.1082,FALSE,FALSE,TRUE, -,SDOH,sdoh,SHOULD,Current or Former Occupation,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1048/expansion,2.16.840.1.113762.1.4.1222.1048,FALSE,FALSE,TRUE, -,SDOH,sdoh,SHOULD,Dependents in Home,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1065/expansion,2.16.840.1.113762.1.4.1222.1065,FALSE,FALSE,TRUE, -,SDOH,sdoh,SHOULD,English Proficiency,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1030/expansion,2.16.840.1.113762.1.4.1222.1030,FALSE,FALSE,TRUE, -,SDOH,sdoh,SHOULD,Experiences of Discrimination,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1080/expansion,2.16.840.1.113762.1.4.1222.1080,FALSE,FALSE,TRUE, -,SDOH,sdoh,SHOULD,Exposure to Environmental Hazards,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1075/expansion,2.16.840.1.113762.1.4.1222.1075,FALSE,FALSE,TRUE, -,SDOH,sdoh,SHOULD,Immigration Status,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1083/expansion,2.16.840.1.113762.1.4.1222.1083,FALSE,FALSE,TRUE, -,SDOH,sdoh,SHOULD,Income Level,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1053/expansion,2.16.840.1.113762.1.4.1222.1053,FALSE,FALSE,TRUE, -,SDOH,sdoh,SHOULD,Leisure Activity Engagement,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1069/expansion,2.16.840.1.113762.1.4.1222.1069,FALSE,FALSE,TRUE, -,SDOH,sdoh,SHOULD,Living Situation,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1060/expansion,2.16.840.1.113762.1.4.1222.1060,FALSE,FALSE,TRUE, -,SDOH,sdoh,SHOULD,Marital or Spousal Status,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1064/expansion,2.16.840.1.113762.1.4.1222.1064,FALSE,FALSE,TRUE, -,SDOH,sdoh,SHOULD,Neglect,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1042/expansion,2.16.840.1.113762.1.4.1222.1042,FALSE,FALSE,TRUE, -,SDOH,sdoh,SHOULD,Physical Activity Level,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1068/expansion,2.16.840.1.113762.1.4.1222.1068,FALSE,FALSE,TRUE, -,SDOH,sdoh,SHOULD,Unsafe Neighborhood,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1076/expansion,2.16.840.1.113762.1.4.1222.1076,FALSE,FALSE,TRUE, -,SDOH,sdoh,SHOULD,Work Productivity,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1050/expansion,2.16.840.1.113762.1.4.1222.1050,FALSE,FALSE,TRUE, -2,Functional Status,functional-status,SHOULD,Functional Status Clinical Assessment,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1008/expansion,2.16.840.1.113762.1.4.1222.1008,FALSE,FALSE,TRUE, -,Functional Status,functional-status,SHOULD,Bathing or grooming/hygiene (ADL/IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.954/expansion,2.16.840.1.113762.1.4.1222.954,FALSE,FALSE,TRUE, -,Functional Status,functional-status,SHOULD,Bed Mobility (ADL or IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.962/expansion,2.16.840.1.113762.1.4.1222.962,FALSE,FALSE,TRUE, -,Functional Status,functional-status,SHOULD,Domestic Duties or Household Tasks (ADL/IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.960/expansion,2.16.840.1.113762.1.4.1222.960,FALSE,FALSE,TRUE, -,Functional Status,functional-status,SHOULD,Dressing (ADL or IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.955/expansion,2.16.840.1.113762.1.4.1222.955,FALSE,FALSE,TRUE, -,Functional Status,functional-status,SHOULD,Fall Risk,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.711/expansion,2.16.840.1.113762.1.4.1222.711,FALSE,FALSE,TRUE, -,Functional Status,functional-status,SHOULD,Gait Quality,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.826/expansion,2.16.840.1.113762.1.4.1222.826,FALSE,FALSE,TRUE, -,Functional Status,functional-status,SHOULD,Sit to Stand Ability,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.836/expansion,2.16.840.1.113762.1.4.1222.836,FALSE,FALSE,TRUE, -,Functional Status,functional-status,SHOULD,Stair Use (ADL or IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.963/expansion,2.16.840.1.113762.1.4.1222.963,FALSE,FALSE,TRUE, -,Functional Status,functional-status,SHOULD,Telephone Use (ADL or IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.961/expansion,2.16.840.1.113762.1.4.1222.961,FALSE,FALSE,TRUE, -,Functional Status,functional-status,SHOULD,Toileting (ADL or IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.956/expansion,2.16.840.1.113762.1.4.1222.956,FALSE,FALSE,TRUE, -,Functional Status,functional-status,SHOULD,Transferring (ADL or IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.957/expansion,2.16.840.1.113762.1.4.1222.957,FALSE,FALSE,TRUE, -,Functional Status,functional-status,SHOULD,Walking or ambulation/locomotion (ADL/IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.958/expansion,2.16.840.1.113762.1.4.1222.958,FALSE,FALSE,TRUE, -,Functional Status,functional-status,SHOULD,Functional Status Clinician Interpretation,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1007/expansion,2.16.840.1.113762.1.4.1222.1007,TRUE,FALSE,FALSE, -,Functional Status,functional-status,SHOULD,Functional Status Related Questionnaire Panel Codes,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1586/expansion,2.16.840.1.113762.1.4.1222.1586,FALSE,TRUE,FALSE, -3,Mental/Cognitive Status.,cognitive-status,SHOULD,Cognitive Health Related Questionnaire Panel Codes,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1584/expansion,2.16.840.1.113762.1.4.1222.1584,FALSE,TRUE,FALSE, -,Mental/Cognitive Status.,cognitive-status,SHOULD,Cognitive Function Clinical Assessment,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.981/expansion,2.16.840.1.113762.1.4.1222.981,FALSE,FALSE,TRUE, -,Mental/Cognitive Status.,cognitive-status,SHOULD,Cognitive Function Clinician Interpretation,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.979/expansion,2.16.840.1.113762.1.4.1222.979,TRUE,FALSE,FALSE, -4,Disability Status,disability-status,SHOULD,Disability Status Assessment,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1099.49/expansion,2.16.840.1.113762.1.4.1099.49,FALSE,FALSE,TRUE, -5,Physical Activity,activity,SHOULD,Physical Activity Level,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1068/expansion,2.16.840.1.113762.1.4.1222.1068,FALSE,FALSE,TRUE, -6,Alcohol Use,social-history,SHOULD,Substance Use,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1015/expansion,2.16.840.1.113762.1.4.1222.1015,FALSE,FALSE,TRUE, -,Alcohol Use,social-history,SHOULD,Alcohol Use Related Questionnaire Panel Codes,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1585/expansion,2.16.840.1.113762.1.4.1222.1585,FALSE,TRUE,FALSE, -7,Substance Use,social-history,SHOULD,Substance Use,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1015/expansion,2.16.840.1.113762.1.4.1222.1015,TRUE,FALSE,TRUE, \ No newline at end of file diff --git a/input/images/assessments-valuesets.xlsx b/input/images/assessments-valuesets.xlsx deleted file mode 100644 index 80b9cbe4..00000000 Binary files a/input/images/assessments-valuesets.xlsx and /dev/null differ diff --git a/input/images/additional-uscdi-requirements.csv b/input/images/tables/additional-uscdi-requirements.csv similarity index 86% rename from input/images/additional-uscdi-requirements.csv rename to input/images/tables/additional-uscdi-requirements.csv index 80405e5c..84efa283 100644 --- a/input/images/additional-uscdi-requirements.csv +++ b/input/images/tables/additional-uscdi-requirements.csv @@ -13,11 +13,14 @@ Previous Name,[US Core Patient Profile],Patient.name.use or Patient.name.period Suffix,[US Core Patient Profile],Patient.name.suffix A Reason Or Indication For Referral Or Consultation,[US Core ServiceRequest Profile],ServiceRequest.reasonCode A Reason Or Indication For Referral Or Consultation,[US Core ServiceRequest Profile],ServiceRequest.reasonReference +A Reason Or Indication For Referral Or Consultation,[US Core Procedure Profile],Procedure.reasonCode +A Reason Or Indication For Referral Or Consultation,[US Core Procedure Profile],Procedure.reasonReference The Reason Or Indication For The Prescription,[US Core MedicationRequest Profile],MedicationRequest.reasonCode The Reason Or Indication For The Prescription,[US Core MedicationRequest Profile],MedicationRequest.reasonReference Medication Adherence,[US Core MedicationRequest Profile],MedicationRequest.extension:medicationAdherence A Reference To The Request For The Procedure,[US Core Procedure Profile],Procedure.basedOn US Core Document Category,[US Core DocumentReference Profile],DocumentReference.category:uscore "References To An Associated Survey, Assessment, Or Screening Tool",[US Core Simple Observation Profile],Observation.derivedFrom +Specimen Source Site,[US Core Specimen Profile],Specimen.collection Specimen Source Site,[US Core Specimen Profile],Specimen.collection.bodySite Specimen Condition Acceptability,[US Core Specimen Profile],Specimen.condition \ No newline at end of file diff --git a/input/images/additional-uscdi-requirements.xlsx b/input/images/tables/additional-uscdi-requirements.xlsx similarity index 50% rename from input/images/additional-uscdi-requirements.xlsx rename to input/images/tables/additional-uscdi-requirements.xlsx index 3ad16cb5..8859ef7a 100644 Binary files a/input/images/additional-uscdi-requirements.xlsx and b/input/images/tables/additional-uscdi-requirements.xlsx differ diff --git a/input/images/tables/assessments-valuesets.csv b/input/images/tables/assessments-valuesets.csv new file mode 100644 index 00000000..c9743b8c --- /dev/null +++ b/input/images/tables/assessments-valuesets.csv @@ -0,0 +1,43 @@ +Data Class Number,USCDI Data Element,Category Code,ValueSet Name,VSAC Link,VSAC OID,Clinical Judgement,Panel,Panel Item,Comment,USCoreStarterCodes,Gravity +1,SDOH,sdoh,Social Determinants of Health Screening Assessments,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1247.126/expansion,2.16.840.1.113762.1.4.1247.126,FALSE,TRUE,FALSE,Set of SDOH Panel Codes,TRUE, +,SDOH,sdoh,US Core SDOH Panel Item Codes,ValueSet-uscore-common-sdoh-assessments.html,-,FALSE,FALSE,TRUE,,TRUE, +,SDOH,sdoh,Caregiver Availability,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1058/expansion,2.16.840.1.113762.1.4.1222.1058,FALSE,FALSE,TRUE,,FALSE,TRUE +,SDOH,sdoh,Caregiver Characteristics,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1057/expansion,2.16.840.1.113762.1.4.1222.1057,FALSE,FALSE,TRUE,,FALSE,TRUE +,SDOH,sdoh,Criminal Justice Involvement or Incarceration History,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1082/expansion,2.16.840.1.113762.1.4.1222.1082,FALSE,FALSE,TRUE,,FALSE,TRUE +,SDOH,sdoh,Current or Former Occupation,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1048/expansion,2.16.840.1.113762.1.4.1222.1048,FALSE,FALSE,TRUE,,FALSE,TRUE +,SDOH,sdoh,Dependents in Home,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1065/expansion,2.16.840.1.113762.1.4.1222.1065,FALSE,FALSE,TRUE,,FALSE,TRUE +,SDOH,sdoh,English Proficiency,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1030/expansion,2.16.840.1.113762.1.4.1222.1030,FALSE,FALSE,TRUE,,FALSE,TRUE +,SDOH,sdoh,Experiences of Discrimination,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1080/expansion,2.16.840.1.113762.1.4.1222.1080,FALSE,FALSE,TRUE,,FALSE,TRUE +,SDOH,sdoh,Exposure to Environmental Hazards,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1075/expansion,2.16.840.1.113762.1.4.1222.1075,FALSE,FALSE,TRUE,,FALSE,TRUE +,SDOH,sdoh,Immigration Status,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1083/expansion,2.16.840.1.113762.1.4.1222.1083,FALSE,FALSE,TRUE,,FALSE,TRUE +,SDOH,sdoh,Income Level,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1053/expansion,2.16.840.1.113762.1.4.1222.1053,FALSE,FALSE,TRUE,,FALSE,TRUE +,SDOH,sdoh,Leisure Activity Engagement,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1069/expansion,2.16.840.1.113762.1.4.1222.1069,FALSE,FALSE,TRUE,,FALSE,TRUE +,SDOH,sdoh,Living Situation,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1060/expansion,2.16.840.1.113762.1.4.1222.1060,FALSE,FALSE,TRUE,,FALSE,TRUE +,SDOH,sdoh,Marital or Spousal Status,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1064/expansion,2.16.840.1.113762.1.4.1222.1064,FALSE,FALSE,TRUE,,FALSE,TRUE +,SDOH,sdoh,Neglect,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1042/expansion,2.16.840.1.113762.1.4.1222.1042,FALSE,FALSE,TRUE,,FALSE,TRUE +,SDOH,sdoh,Physical Activity Level,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1068/expansion,2.16.840.1.113762.1.4.1222.1068,FALSE,FALSE,TRUE,,FALSE,TRUE +,SDOH,sdoh,Unsafe Neighborhood,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1076/expansion,2.16.840.1.113762.1.4.1222.1076,FALSE,FALSE,TRUE,,FALSE,TRUE +,SDOH,sdoh,Work Productivity,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1050/expansion,2.16.840.1.113762.1.4.1222.1050,FALSE,FALSE,TRUE,,FALSE,TRUE +2,Functional Status,functional-status,Functional Status Clinical Assessment,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1008/expansion,2.16.840.1.113762.1.4.1222.1008,FALSE,FALSE,TRUE,,TRUE, +,Functional Status,functional-status,Bathing or grooming/hygiene (ADL/IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.954/expansion,2.16.840.1.113762.1.4.1222.954,FALSE,FALSE,TRUE,,FALSE, +,Functional Status,functional-status,Bed Mobility (ADL or IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.962/expansion,2.16.840.1.113762.1.4.1222.962,FALSE,FALSE,TRUE,,FALSE, +,Functional Status,functional-status,Domestic Duties or Household Tasks (ADL/IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.960/expansion,2.16.840.1.113762.1.4.1222.960,FALSE,FALSE,TRUE,,FALSE, +,Functional Status,functional-status,Dressing (ADL or IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.955/expansion,2.16.840.1.113762.1.4.1222.955,FALSE,FALSE,TRUE,,FALSE, +,Functional Status,functional-status,Fall Risk,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.711/expansion,2.16.840.1.113762.1.4.1222.711,FALSE,FALSE,TRUE,,FALSE, +,Functional Status,functional-status,Gait Quality,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.826/expansion,2.16.840.1.113762.1.4.1222.826,FALSE,FALSE,TRUE,,FALSE, +,Functional Status,functional-status,Sit to Stand Ability,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.836/expansion,2.16.840.1.113762.1.4.1222.836,FALSE,FALSE,TRUE,,FALSE, +,Functional Status,functional-status,Stair Use (ADL or IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.963/expansion,2.16.840.1.113762.1.4.1222.963,FALSE,FALSE,TRUE,,FALSE, +,Functional Status,functional-status,Telephone Use (ADL or IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.961/expansion,2.16.840.1.113762.1.4.1222.961,FALSE,FALSE,TRUE,,FALSE, +,Functional Status,functional-status,Toileting (ADL or IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.956/expansion,2.16.840.1.113762.1.4.1222.956,FALSE,FALSE,TRUE,,FALSE, +,Functional Status,functional-status,Transferring (ADL or IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.957/expansion,2.16.840.1.113762.1.4.1222.957,FALSE,FALSE,TRUE,,FALSE, +,Functional Status,functional-status,Walking or ambulation/locomotion (ADL/IADL),https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.958/expansion,2.16.840.1.113762.1.4.1222.958,FALSE,FALSE,TRUE,,FALSE, +,Functional Status,functional-status,Functional Status Clinician Interpretation,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1007/expansion,2.16.840.1.113762.1.4.1222.1007,TRUE,FALSE,FALSE,,TRUE, +,Functional Status,functional-status,Functional Status Related Questionnaire Panel Codes,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1586/expansion,2.16.840.1.113762.1.4.1222.1586,FALSE,TRUE,FALSE,,TRUE, +3,Mental/Cognitive Status.,cognitive-status,Cognitive Health Related Questionnaire Panel Codes,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1584/expansion,2.16.840.1.113762.1.4.1222.1584,FALSE,TRUE,FALSE,,TRUE, +,Mental/Cognitive Status.,cognitive-status,Cognitive Function Clinical Assessment,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.981/expansion,2.16.840.1.113762.1.4.1222.981,FALSE,FALSE,TRUE,,TRUE, +,Mental/Cognitive Status.,cognitive-status,Cognitive Function Clinician Interpretation,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.979/expansion,2.16.840.1.113762.1.4.1222.979,TRUE,FALSE,FALSE,,TRUE, +4,Disability Status,disability-status,Disability Status Assessment,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1099.49/expansion,2.16.840.1.113762.1.4.1099.49,FALSE,FALSE,TRUE,,TRUE, +5,Physical Activity,activity,US Core PA Codes,ValueSet-uscore-pa-codes.html,-,FALSE,FALSE,TRUE,,TRUE, +6,Alcohol Use,social-history,Substance Use,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1015/expansion,2.16.840.1.113762.1.4.1222.1015,FALSE,FALSE,TRUE,,TRUE, +,Alcohol Use,social-history,Alcohol Use Related Questionnaire Panel Codes,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1585/expansion,2.16.840.1.113762.1.4.1222.1585,FALSE,TRUE,FALSE,,TRUE, +7,Substance Use,social-history,Substance Use,https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1222.1015/expansion,2.16.840.1.113762.1.4.1222.1015,FALSE,FALSE,TRUE,,TRUE, \ No newline at end of file diff --git a/input/images/tables/assessments-valuesets.xlsx b/input/images/tables/assessments-valuesets.xlsx new file mode 100644 index 00000000..efaf10bb Binary files /dev/null and b/input/images/tables/assessments-valuesets.xlsx differ diff --git a/input/images/tables/codesystem-ref-all-list.csv b/input/images/tables/codesystem-ref-all-list.csv new file mode 100644 index 00000000..4a959201 --- /dev/null +++ b/input/images/tables/codesystem-ref-all-list.csv @@ -0,0 +1,11 @@ +URL,Version,Status,OIDs,Name,Title,Descriptino,Used +http://hl7.org/fhir/observation-status,4.0.1,active,"2.16.840.1.113883.4.642.4.401",ObservationStatus,ObservationStatus,"Codes providing the status of an observation.","ValueSet/observation-status" +http://hl7.org/fhir/quantity-comparator,4.0.1,active,"2.16.840.1.113883.4.642.4.60",QuantityComparator,QuantityComparator,"How the Quantity should be understood and represented.","ValueSet/quantity-comparator" +http://loinc.org,3.1.0,active,"2.16.840.1.113883.6.1",LOINC,Logical Observation Identifiers, Names and Codes (LOINC),"LOINC provides a set of universal names and ID codes for identifying laboratory and clinical test results.1,2 LOINC facilitates the exchange and pooling of results, such as blood hemoglobin, serum potassium, or vital signs, for clinical care, outcomes management, and research. LOINC's universal identifiers (names and codes) can be used in the context of order and observation exchanges between information systems that use syntax standards such as HL73, CEN TC251, ISO TC215, ASTM4, and DICOM. Specifically, the identifier can be used as the coded value for an observation in any other standard that uses the observation/observation value paradigm, whether messages, documents, application programming interface (API), etc. For example, LOINC codes are used widely in the OBX segment Observation Identifier field (OBX-3) of an ORU HL7 (HL7 version 2.x or ASTM 1238-9410) message that may be sent between a Clinical Laboratory Information Management Systems (LIMS) and Electronic Health Record Systems (EHR).5, 6 In this way, LOINC codes provide universal identifiers that allow the exchange of clinical data between heterogeneous computing environments.","ValueSet/us-core-vital-signs" +http://snomed.info/sct,null,active,"2.16.840.1.113883.6.96",SNOMED_CT,SNOMED CT (all versions),"SNOMED CT is the most comprehensive and precise clinical health terminology product in the world, owned and distributed around the world by The International Health Terminology Standards Development Organisation (IHTSDO).","ValueSet/referencerange-appliesto,ValueSet/observation-methods,ValueSet/body-site" +http://terminology.hl7.org/CodeSystem/data-absent-reason,0.1.0,active,"2.16.840.1.113883.4.642.4.1048",DataAbsentReason,DataAbsentReason,"Used to specify why the normally expected content of the data element is missing.","ValueSet/data-absent-reason" +http://terminology.hl7.org/CodeSystem/observation-category,0.1.0,draft,"2.16.840.1.113883.4.642.1.1125",ObservationCategoryCodes,Observation Category Codes,"Observation Category codes.","ValueSet/observation-category" +http://terminology.hl7.org/CodeSystem/referencerange-meaning,0.1.0,draft,"2.16.840.1.113883.4.642.1.1124",ObservationReferenceRangeMeaningCodes,Observation Reference Range Meaning Codes,"This value set defines a set of codes that can be used to indicate the meaning/use of a reference range for a particular target population.","ValueSet/referencerange-meaning" +http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation,2.1.0,active,"2.16.840.1.113883.5.83",ObservationInterpretation,ObservationInterpretation,"One or more codes providing a rough qualitative interpretation of the observation, such as ""normal"" / ""abnormal"", ""low"" / ""high"", ""better"" / ""worse"", ""resistant"" / ""susceptible"", ""expected"" / ""not expected"". The value set is intended to be for ANY use where coded representation of an interpretation is needed.","ValueSet/observation-interpretation" +http://unitsofmeasure.org,3.0.1,active,"2.16.840.1.113883.6.8",UCUM,Unified Code for Units of Measure (UCUM),"The Unified Code for Units of Measure (UCUM) is a code system intended to include all units of measures being contemporarily used in international science, engineering, and business. The purpose is to facilitate unambiguous electronic communication of quantities together with their units. The focus is on electronic communication, as opposed to communication between humans. A typical application of The Unified Code for Units of Measure are electronic data interchange (EDI) protocols, but there is nothing that prevents it from being used in other types of machine communication.","ValueSet/ucum-vitals-common" +urn:ietf:bcp:47,2.0.1,active,"2.16.840.1.113883.6.121",Ietf3066,Tags for the Identification of Languages,"Older value from OID registry. Superceded; see recommendations in BCP-47.","ValueSet/languages" diff --git a/input/images/tables/codesystem-ref-all-list.xlsx b/input/images/tables/codesystem-ref-all-list.xlsx new file mode 100644 index 00000000..41118423 Binary files /dev/null and b/input/images/tables/codesystem-ref-all-list.xlsx differ diff --git a/input/images/tables/scopes.csv b/input/images/tables/scopes.csv new file mode 100644 index 00000000..2e9e3c6d --- /dev/null +++ b/input/images/tables/scopes.csv @@ -0,0 +1,64 @@ +row,profile_title,page_path,add_scope,data,resource_type,category_1,category_2,category_3 +0,,StructureDefinition-argo-write-observation.html,FALSE,laboratory,Observation,http://terminology.hl7.org/CodeSystem/Observation-category|laboratory,, +1,US Core AllergyIntolerance Profile,StructureDefinition-us-core-allergyintolerance.html,TRUE,allergy and intolerance,AllergyIntolerance,,, +2,US Core CarePlan Profile,StructureDefinition-us-core-careplan.html,TRUE,care plan,CarePlan,,, +3,US Core CareTeam Profile,StructureDefinition-us-core-careteam.html,TRUE,careteam,CareTeam,,, +4,US Core Condition Encounter Diagnosis Profile,StructureDefinition-us-core-condition-encounter-diagnosis.html,TRUE,encounter diagnosis,Condition,http://terminology.hl7.org/CodeSystem/condition-category|encounter-diagnosis,, +5,US Core Condition Problems and Health Concerns Profile,StructureDefinition-us-core-condition-problems-health-concerns.html,TRUE,problems and health concern,Condition,http://terminology.hl7.org/CodeSystem/condition-category|problem-list-item,http://hl7.org/fhir/us/core/CodeSystem/condition-category|health-concern, +6,US Core Coverage Profile,StructureDefinition-us-core-coverage.html,TRUE,coverage,Coverage,,, +7,US Core Implantable Device Profile,StructureDefinition-us-core-implantable-device.html,TRUE,implantable device,Device,,, +8,US Core DiagnosticReport Profile for Report and Note Exchange,StructureDefinition-us-core-diagnosticreport-note.html,TRUE,clniical note,DiagnosticReport,http://loinc.org|LP29684-5,http://loinc.org|LP29708-2,http://loinc.org|LP7839-6 +9,US Core DiagnosticReport Profile for Laboratory Results Reporting,StructureDefinition-us-core-diagnosticreport-lab.html,TRUE,laboratory,DiagnosticReport,http://terminology.hl7.org/CodeSystem/v2-0074|LAB,, +10,US Core DocumentReference Profile,StructureDefinition-us-core-documentreference.html,TRUE,clniical note,DocumentReference,http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category|clinical-note,, +11,US Core Encounter Profile,StructureDefinition-us-core-encounter.html,TRUE,encounter,Encounter,,, +12,,!StructureDefinition-us-core-direct.html,FALSE,,Extension,,, +13,,!StructureDefinition-us-core-race.html,FALSE,,Extension,,, +14,,!StructureDefinition-us-core-birthsex.html,FALSE,,Extension,,, +14,,!StructureDefinition-us-core-sex.html,FALSE,,Extension,,, +15,,!StructureDefinition-us-core-genderIdentity.html,FALSE,,Extension,,, +16,,!StructureDefinition-us-core-ethnicity.html,FALSE,,Extension,,, +17,,!StructureDefinition-us-core-extension-questionnaire-uri.html,FALSE,,Extension,,, +18,US Core Goal Profile,StructureDefinition-us-core-goal.html,TRUE,goal,Goal,,, +19,US Core Immunization Profile,StructureDefinition-us-core-immunization.html,TRUE,immunization,Immunization,,, +20,US Core Location Profile,StructureDefinition-us-core-location.html,FALSE,,Location,,, +21,US Core Medication Profile,StructureDefinition-us-core-medication.html,FALSE,,Medication,,, +22,US Core MedicationRequest Profile,StructureDefinition-us-core-medicationrequest.html,TRUE,prescription,MedicationRequest,,, +23,US Core MedicationDispense Profile,StructureDefinition-us-core-medicationdispense.html,TRUE,dispensed medication,MedicationDispense,,, +24,US Core Laboratory Result Observation Profile,StructureDefinition-us-core-observation-lab.html,TRUE,laboratory,Observation,http://terminology.hl7.org/CodeSystem/observation-category|laboratory,, +25,US Core Observation Pregnancy Status Profile,StructureDefinition-us-core-observation-pregnancystatus.html,TRUE,social history,Observation,http://terminology.hl7.org//CodeSystem-observation-category.html|social-history,, +26,US Core Observation Pregnancy Intent Profile,StructureDefinition-us-core-observation-pregnancyintent.html,TRUE,social history,Observation,http://terminology.hl7.org//CodeSystem-observation-category.html|social-history,, +27,US Core Observation Occupation Profile,StructureDefinition-us-core-observation-occupation.html,TRUE,social history,Observation,http://terminology.hl7.org//CodeSystem-observation-category.html|social-history,, +28,,!StructureDefinition-us-core-observation-sdoh-assessment.html,FALSE,,Observation,,, +29,US Core Respiratory Rate Profile,StructureDefinition-us-core-respiratory-rate.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, +30,US Core Simple Observation Profile,StructureDefinition-us-core-simple-observation.html,TRUE,observation,Observation,,, +31,US Core Heart Rate Profile,StructureDefinition-us-core-heart-rate.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, +32,US Core Body Temperature Profile,StructureDefinition-us-core-body-temperature.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, +33,US Core Pediatric Weight for Height Observation Profile,StructureDefinition-pediatric-weight-for-height.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, +34,US Core Pulse Oximetry Profile,StructureDefinition-us-core-pulse-oximetry.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, +35,US Core Smoking Status Observation Profile,StructureDefinition-us-core-smokingstatus.html,TRUE,social history,Observation,http://terminology.hl7.org//CodeSystem-observation-category.html|social-history,, +36,US Core Observation Sexual Orientation Profile,StructureDefinition-us-core-observation-sexual-orientation.html,TRUE,social history,Observation,http://terminology.hl7.org//CodeSystem-observation-category.html|social-history,, +37,US Core Head Circumference Profile,StructureDefinition-us-core-head-circumference.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, +38,US Core Body Height Profile,StructureDefinition-us-core-body-height.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, +39,US Core BMI Profile,StructureDefinition-us-core-bmi.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, +40,US Core Observation Screening Assessment Profile,StructureDefinition-us-core-observation-screening-assessment.html,TRUE,survey,Observation,http://terminology.hl7.org/CodeSystem/observation-category|survey,, +41,US Core Average Blood Pressure Profile,StructureDefinition-us-core-average-blood-pressure.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, +41,US Core Blood Pressure Profile,StructureDefinition-us-core-blood-pressure.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, +42,,!StructureDefinition-us-core-observation-imaging.html,FALSE,,Observation,,, +43,US Core Observation Clinical Result Profile,StructureDefinition-us-core-observation-clinical-result.html,TRUE,clinical results,Observation,http://terminology.hl7.org/CodeSystem/observation-category|imaging,http://terminology.hl7.org/CodeSystem/observation-category|procedure,http://terminology.hl7.org/CodeSystem/observation-category|laboratory +44,US Core Pediatric BMI for Age Observation Profile,StructureDefinition-pediatric-bmi-for-age.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, +45,US Core Pediatric Head Occipital Frontal Circumference Percentile Profile,StructureDefinition-head-occipital-frontal-circumference-percentile.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, +46,US Core Body Weight Profile,StructureDefinition-us-core-body-weight.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, +47,US Core Vital Signs Profile,StructureDefinition-us-core-vital-signs.html,TRUE,vital signs,Observation,http://terminology.hl7.org/CodeSystem/observation-category|vital-signs,, +48,US Core Organization Profile,StructureDefinition-us-core-organization.html,TRUE,organization,Organization,,, +49,US Core Patient Profile,StructureDefinition-us-core-patient.html,TRUE,patient,Patient,,, +50,US Core Practitioner Profile,StructureDefinition-us-core-practitioner.html,TRUE,practitioner,Practitioner,,, +51,US Core PractitionerRole Profile,StructureDefinition-us-core-practitionerrole.html,TRUE,practitioner role,PractitionerRole,,, +52,US Core Procedure Profile,StructureDefinition-us-core-procedure.html,TRUE,procedure,Procedure,,, +53,US Core Provenance Profile,StructureDefinition-us-core-provenance.html,TRUE,provenance,Provenance,,, +54,,http:--hl7.org-fhir-uv-sdc-StructureDefinition-sdc-questionnaire.html,FALSE,,Questionnaire,,, +55,US Core QuestionnaireResponse Profile,StructureDefinition-us-core-questionnaireresponse.html,TRUE,"completed questionnnaire, survey and assessement",QuestionnaireResponse,,, +56,US Core RelatedPerson Profile,StructureDefinition-us-core-relatedperson.html,TRUE,related person,RelatedPerson,,, +57,US Core ServiceRequest Profile,StructureDefinition-us-core-servicerequest.html,TRUE,order and referral,ServiceRequest,http://hl7.org/fhir/us/core/CodeSystem/us-core-category|sdoh,http://hl7.org/fhir/us/core/CodeSystem/us-core-category|functional-status,http://snomed.info/sct|surgical-procedure +58,US Core Specimen Profile,StructureDefinition-us-core-specimen.html,TRUE,specimen,Specimen,,, +59,US Core Treatment Intervention Preference Profile,StructureDefinition-us-core-treatment-intervention-preference.html,TRUE,observation,Observation,http://hl7.org/fhir/us/core/CodeSystem/us-core-category|treatment-intervention-preference,, +60,US Core Care Experience Preference Profile,StructureDefinition-us-core-care-experience-preference.html,TRUE,observation,Observation,http://hl7.org/fhir/us/core/CodeSystem/us-core-category|care-experience-preference,, \ No newline at end of file diff --git a/input/images/tables/scopes.xlsx b/input/images/tables/scopes.xlsx new file mode 100644 index 00000000..54f5ee6f Binary files /dev/null and b/input/images/tables/scopes.xlsx differ diff --git a/input/images/tables/uscdi-table.csv b/input/images/tables/uscdi-table.csv new file mode 100644 index 00000000..d2ce74b9 --- /dev/null +++ b/input/images/tables/uscdi-table.csv @@ -0,0 +1,136 @@ +data_class_number,data_class,uscore_profile,data_element,resource_type,,extension,fhir_path,comment,comment_link +1,Allergies and Intolerances,US Core AllergyIntolerance Profile,,,,,AllergyIntolerance,, +,Allergies and Intolerances,US Core AllergyIntolerance Profile,Substance (Medication),AllergyIntolerance,AllergyIntolerance,,AllergyIntolerance.code,, +,Allergies and Intolerances,US Core AllergyIntolerance Profile,Substance (Drug Class),AllergyIntolerance,AllergyIntolerance,,AllergyIntolerance.code,, +,Allergies and Intolerances,US Core AllergyIntolerance Profile,Substance (Non-Medication),AllergyIntolerance,AllergyIntolerance,,AllergyIntolerance.code,, +,Allergies and Intolerances,US Core AllergyIntolerance Profile,Reaction,AllergyIntolerance,AllergyIntolerance,,AllergyIntolerance.reaction,, +2,Care Team Members,US Core CareTeam Profile,,,,,CareTeam.participant,, +,Care Team Members,US Core Practitioner Profile| US Core Patient Profile| US Core RelatedPerson Profile,Name,CareTeam,CareTeam,,"Practitioner.name, RelatedPerson.name",, +,Care Team Members,US Core Practitioner Profile| US Core Patient Profile,Identifier,CareTeam,CareTeam,,Practitioner.identifier,, +,Care Team Members,US Core PractitionerRole Profile| US Core Practitioner Profile| US Core Patient Profile| US Core RelatedPerson Profile,Location,CareTeam,CareTeam,,"PractitionerRole.address, Practitioner.address, RelatedPerson.address",, +,Care Team Members,US Core PractitionerRole Profile| US Core Practitioner Profile| US Core Patient Profile| US Core RelatedPerson Profile,Telecom,CareTeam,CareTeam,,"PractitionerRole.telecom, Practitioner.telecom, RelatedPerson.telecom",, +,Care Team Members,US Core CareTeam Profile,Role,CareTeam,CareTeam,,CareTeam.participant.role,, +3,Clinical Notes,US Core DocumentReference Profile|US Core DiagnosticReport Profile for Report and Note Exchange,,,,,"DocumentReference,DiagnosticReport",See Clinical Notes Guidance,clinical-notes.html +,Clinical Notes,US Core DocumentReference Profile,Consultation Note,DocumentReference,DocumentReference,,DocumentReference,, +,Clinical Notes,US Core DocumentReference Profile,Discharge Summary Note,DocumentReference,DocumentReference,,DocumentReference,, +,Clinical Notes,US Core DocumentReference Profile,History & Physical,DocumentReference,DocumentReference,,DocumentReference,, +,Clinical Notes,US Core DocumentReference Profile|US Core DiagnosticReport Profile for Report and Note Exchange,Imaging Narrative,DocumentReference | DiagnosticReport,DocumentReference | DiagnosticReport,,"DocumentReference,DiagnosticReport",, +,Clinical Notes,US Core DocumentReference Profile|US Core DiagnosticReport Profile for Report and Note Exchange,Laboratory Report Narrative,DocumentReference | DiagnosticReport,DocumentReference | DiagnosticReport,,"DocumentReference,DiagnosticReport",, +,Clinical Notes,US Core DocumentReference Profile|US Core DiagnosticReport Profile for Report and Note Exchange,Pathology Report Narrative,DocumentReference | DiagnosticReport,DocumentReference | DiagnosticReport,,"DocumentReference,DiagnosticReport",, +,Clinical Notes,US Core DocumentReference Profile|US Core DiagnosticReport Profile for Report and Note Exchange,Procedure Note,DocumentReference | DiagnosticReport,DocumentReference | DiagnosticReport,,"DocumentReference,DiagnosticReport",, +,Clinical Notes,US Core DocumentReference Profile,Progress Note,,,,DocumentReference,, +4,Clinical Tests,US Core Observation Clinical Result Profile| US Core DiagnosticReport Profile for Report and Note Exchange,Clinical Tests,Observation | DiagnosticReport,Observation | DiagnosticReport,,"Observation, DiagnosticReport",, +,Clinical Tests,US Core Observation Clinical Result Profile| US Core DiagnosticReport Profile for Report and Note Exchange,Clinical Test,Observation | DiagnosticReport,Observation | DiagnosticReport,,"Observation, DiagnosticReport",, +,Clinical Tests,US Core Observation Clinical Result Profile| US Core DiagnosticReport Profile for Report and Note Exchange,Clinical Test Result/Report,Observation | DiagnosticReport,Observation | DiagnosticReport,,"Observation, DiagnosticReport",, +5,Diagnostic Imaging,US Core Observation Clinical Result Profile| US Core DiagnosticReport Profile for Report and Note Exchange,,,,,"Observation, DiagnosticReport",, +,Diagnostic Imaging,US Core Observation Clinical Result Profile| US Core DiagnosticReport Profile for Report and Note Exchange,Diagnostic Imaging Test,Observation | DiagnosticReport,Observation | DiagnosticReport,,"Observation, DiagnosticReport",, +,Diagnostic Imaging,US Core Observation Clinical Result Profile| US Core DiagnosticReport Profile for Report and Note Exchange,Diagnostic Imaging Result/Report,Observation | DiagnosticReport,Observation | DiagnosticReport,,"Observation, DiagnosticReport",, +6,Encounter,US Core Encounter Profile,,,,,Encounter,, +,Encounter,US Core Encounter Profile,Identifier,Encounter,Encounter,,Encounter.identifier,, +,Encounter,US Core Encounter Profile,Type,Encounter,Encounter,,Encounter.type,, +,Encounter,US Core Condition Encounter Diagnosis Profile,Diagnosis,Condition,Condition,,Condition.code,, +,Encounter,US Core Encounter Profile,Time,Encounter,Encounter,,Encounter.period,, +,Encounter,US Core Encounter Profile,Location,Encounter,Encounter,,Encounter.location.location,, +,Encounter,US Core Encounter Profile,Disposition,Encounter,Encounter,,Encounter.hospitalization.dischargeDisposition,, +7,Facility Information,US Core Location Profile,,,,,Location,See Facility Information Guidance,StructureDefinition-us-core-location.html +,Facility Information,US Core Location Profile,Identifier,Location,Location,,Location.identifier,, +,Facility Information,US Core Location Profile,Type,Location,Location,,Location.type,, +,Facility Information,US Core Location Profile,Name,Location,Location,,Location.name,, +8,Goals and Preferences,US Core Goal Profile,,,,,Goal,, +,Goals and Preferences,US Core Goal Profile,Patient Goals,Goal,Goal,,Goal,, +,Goals and Preferences,US Core Goal Profile,SDOH Goals,Goal,Goal,,Goal,See Screening and Assessments Guidance,screening-and-assessments.html +,Goals and Preferences,US Core Treatment Intervention Preference Profile,Treatment Intervention Preference,Observation,Observation,,Observation,, +,Goals and Preferences,US Core Care Experience Preference Profile,Care Experience Preference,Observation,Observation,,Observation,, +9,Health Insurance Information,US Core Coverage Profile | US Core Organization Profile ,,,,,Coverage | Organization,, +,Health Insurance Information,US Core Coverage Profile,Coverage Status,Coverage,Coverage,,Coverage.status + Coverage.period,, +,Health Insurance Information,US Core Coverage Profile,Coverage Type,Coverage,Coverage,,Coverage.type,, +,Health Insurance Information,US Core Coverage Profile,Relationship to Subscriber,Coverage,Coverage,,"Coverage,relationship",, +,Health Insurance Information,US Core Coverage Profile,Member Identifier,Coverage,Coverage,,Coverage.identifier,, +,Health Insurance Information,US Core Coverage Profile,Subscriber Identifier,Coverage,Coverage,,Coverage.subscriberId,, +,Health Insurance Information,US Core Coverage Profile,Group Number,Coverage,Coverage,,Coverage.class,, +,Health Insurance Information,US Core Coverage Profile | US Core Organization Profile ,Payer Identifier,Coverage | Organization,Coverage | Organization,,Coverage.payer | Organization.identifier,, +10,Health Status Assessments,US Core Simple Observation Profile | US Core Condition Problems and Health Concerns Profile | US Core Observation Screening Assessment Profile | US Core QuestionnaireResponse Profile,,,,,"Observation,Condition,QuestionnaireResponse",, +,Health Status Assessments,US Core Condition Problems and Health Concerns Profile,Health Concerns,Condition,Condition,,Condition,, +,Health Status Assessments,US Core Simple Observation Profile | US Core Condition Problems and Health Concerns Profile | US Core Observation Screening Assessment Profile | US Core QuestionnaireResponse Profile,Functional Status,Observation,Observation,,Observation,See Screening and Assessments Guidance,screening-and-assessments.html +,Health Status Assessments,US Core Simple Observation Profile | US Core Condition Problems and Health Concerns Profile | US Core Observation Screening Assessment Profile | US Core QuestionnaireResponse Profile,Disability Status,Observation,Observation,,Observation,See Screening and Assessments Guidance,screening-and-assessments.html +,Health Status Assessments,US Core Simple Observation Profile | US Core Condition Problems and Health Concerns Profile | US Core Observation Screening Assessment Profile | US Core QuestionnaireResponse Profile,Mental/Cognitive Status,Observation,Observation,,Observation,See Screening and Assessments Guidance,screening-and-assessments.html +,Health Status Assessments,US Core Observation Pregnancy Status Profile| US Core Observation Pregnancy Intent Profile,Pregnancy Status,Observation,Observation,,Observation,, +,Health Status Assessments,US Core Simple Observation Profile | US Core Condition Problems and Health Concerns Profile | US Core Observation Screening Assessment Profile | US Core QuestionnaireResponse Profile,Alcohol Use,Simple | Condition | QuestionnaireResponse,Simple | Condition | QuestionnaireResponse,,"Observation,Condition,QuestionnaireResponse",See Screening and Assessments Guidance,screening-and-assessments.html +,Health Status Assessments,US Core Simple Observation Profile | US Core Condition Problems and Health Concerns Profile | US Core Observation Screening Assessment Profile | US Core QuestionnaireResponse Profile,Substance Use,Simple | Condition | QuestionnaireResponse,Simple | Condition | QuestionnaireResponse,,"Observation,Condition,QuestionnaireResponse",See Screening and Assessments Guidance,screening-and-assessments.html +,Health Status Assessments,US Core Simple Observation Profile | US Core Condition Problems and Health Concerns Profile | US Core Observation Screening Assessment Profile | US Core QuestionnaireResponse Profile,Physical Activity,Simple | Condition | QuestionnaireResponse,Simple | Condition | QuestionnaireResponse,,"Observation,Condition,QuestionnaireResponse",See Screening and Assessments Guidance,screening-and-assessments.html +,Health Status Assessments,US Core Simple Observation Profile | US Core Condition Problems and Health Concerns Profile | US Core Observation Screening Assessment Profile | US Core QuestionnaireResponse Profile,SDOH Assessment,Simple | Condition | QuestionnaireResponse,Simple | Condition | QuestionnaireResponse,,"Observation,Condition,QuestionnaireResponse",See Screening and Assessments Guidance,screening-and-assessments.html +,Health Status Assessments,US Core Smoking Status Observation Profile,Smoking Status,Observation,Observation,,Observation,, +11,Immunizations,US Core Immunization Profile,,,,,Immunization,, +,Immunizations,US Core Immunization Profile,,Immunization,Immunization,,Immunization,, +12,Laboratory,US Core Laboratory Result Observation Profile| US Core DiagnosticReport Profile for Laboratory Results Reporting | US Core Specimen Profile,,,,,"Observation, DiagnosticReport,Specimen",, +,Laboratory,US Core Laboratory Result Observation Profile| US Core DiagnosticReport Profile for Laboratory Results Reporting,Tests,Observation | DiagnosticReport,Observation | DiagnosticReport,,"Observation.code, DiagnosticReport.code",, +,Laboratory,US Core Laboratory Result Observation Profile| US Core DiagnosticReport Profile for Laboratory Results Reporting,Values/Results,Observation | DiagnosticReport,Observation | DiagnosticReport,,"Observation.value[x], DiagnosticReport.result",, +,Laboratory,US Core Laboratory Result Observation Profile| US Core Specimen Profile,Specimen Type,Observation | Specimen,Observation | Specimen,,"Observation.specimen, Specimen",, +,Laboratory,US Core Laboratory Result Observation Profile| US Core DiagnosticReport Profile for Laboratory Results Reporting,Result Status,Observation | DiagnosticReport,Observation | DiagnosticReport,,"Observation.status, DiagnosticReport.status",, +,Laboratory,US Core Laboratory Result Observation Profile,Result Unit of Measure,Observation,Observation,,(Observation.value.ofType(Quantity)).code,, +,Laboratory,US Core Laboratory Result Observation Profile,Result Reference Range,Observation,Observation,,Observation.referenceRange,, +,Laboratory,US Core Laboratory Result Observation Profile,Result Interpretation,Observation,Observation,,Observation.interpretation,, +,Laboratory,US Core Specimen Profile,Specimen Identifier,Specimen,Specimen,,Specimen.identifier,, +,Laboratory,US Core Specimen Profile,Specimen Source Site,Specimen,Specimen,,Specimen.collection.bodySite,, +,Laboratory,US Core Specimen Profile,Specimen Condition Acceptability,Specimen,Specimen,,Specimen.condition,, +13,Medical Devices,US Core Implantable Device Profile,,,,,Device,, +,Medical Devices,US Core Implantable Device Profile,Unique Device Identifier(s) for a Patient's Implantable Device(s),Device,Device,,Device,, +14,Medications,US Core MedicationRequest Profile | US Core MedicationDispense Profile | US Core Medication Profile,,,,,"MedicationRequest, MedicationDispense, Medication",See Medication List Guidance,medication-list.html +,Medications,US Core Medication Profile | US Core MedicationRequest Profile,Medications,Medication | MedicationRequest,Medication | MedicationRequest,,"Medication.code, MedicationRequest.medication[x]",, +,Medications,US Core MedicationRequest Profile,Dose,MedicationRequest,MedicationRequest,,MedicationRequest.dosageInstruction.doseAndRate,, +,Medications,US Core MedicationRequest Profile,Dose Unit of Measure,MedicationRequest,MedicationRequest,,MedicationRequest.dosageInstruction.doseAndRate,, +,Medications,US Core MedicationRequest Profile,Indication,MedicationRequest,MedicationRequest,,MedicationRequest.reasonCode | Medication.reasonReference,, +,Medications,US Core MedicationRequest Profile,Medication Instructions,MedicationRequest,MedicationRequest,,MedicationRequest.dosageInstruction,, +,Medications,US Core MedicationRequest Profile,Medication Adherence,MedicationRequest,MedicationRequest,US Core Medication Adherence Extension,MedicationRequest.extension.where(url='Patient.extension.where(url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence'),, +,Medications,US Core MedicationDispense Profile,Fill Status,Medication | MedicationDispense,Medication | MedicationDispense,,MedicationDispense,, +15,Patient Demographics,US Core Patient Profile | US Core Observation Sexual Orientation Profile | US Core Observation Sexual Orientation Profile | US Core Observation Sexual Orientation Profile |US Core Observation Occupation Profile,,,,,"Patient, Observation",, +,Patient Demographics,US Core Patient Profile,First Name,Patient,Patient,,Patient.name.given,, +,Patient Demographics,US Core Patient Profile,Last Name,Patient,Patient,,Patient.name.family,, +,Patient Demographics,US Core Patient Profile,Previous Name,Patient,Patient,,Patient.name,, +,Patient Demographics,US Core Patient Profile,Middle Name (including middle initial),Patient,Patient,,Patient.name.given,, +,Patient Demographics,US Core Patient Profile,Suffix,Patient,Patient,,Patient.name.suffix,, +,Patient Demographics,US Core Patient Profile | US Core Sex Extension,Sex,Patient,Patient,US Core Sex Extension,Patient.extension.where(url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-sex'),, +,Patient Demographics,US Core Patient Profile,Date of Birth,Patient,Patient,,Patient.birthDate,, +,Patient Demographics,US Core Patient Profile,Date of Death,Patient,Patient,,Patient.deceased[x],, +,Patient Demographics,US Core Race Extension,Race,Patient,Patient,US Core Race Extension,Patient.extension.where(url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-race'),, +,Patient Demographics,US Core Patient Profile | US Core Ethnicity Extension,Ethnicity,Patient,Patient,US Core Ethnicity Extension,Patient.extension.where(url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity'),, +,Patient Demographics,US Core Patient Profile | US Core Tribal Affiliation Extension,Tribal Affiliation,Patient,Patient,US Core Tibal Affiliation Extension,Patient.extension.where(url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-tribal-affiliation'),, +,Patient Demographics,US Core Patient Profile | US Core Gender Identity Extension,Gender Identity,Patient,Patient,Gender Identity Extension,Patient.extension.where(url='http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity'),, +,Patient Demographics,US Core Observation Sexual Orientation Profile,Sexual Orientation,Observation,Observation,,Observation,, +,Patient Demographics,US Core Patient Profile,Preferred Language,Patient,Patient,,Patient.communication,, +,Patient Demographics,US Core Patient Profile,Address,Patient,Patient,,Patient.address,, +,Patient Demographics,US Core Patient Profile,Previous Address,Patient,Patient,,Patient.address,, +,Patient Demographics,US Core Patient Profile,Email,Patient,Patient,,Patient.telecom,, +,Patient Demographics,US Core Patient Profile,Phone Number,Patient,Patient,,Patient.telecom,, +,Patient Demographics,US Core RelatedPerson Profile,Related Person's Name,RelatedPerson,RelatedPerson,,RelatedPerson.name,, +,Patient Demographics,US Core RelatedPerson Profile,Related Person's Relationship,RelatedPerson,RelatedPerson,,RelatedPerson.relationship,, +,Patient Demographics,US Core Observation Occupation Profile,Occupation,Observation,Observation,,Observation,, +,Patient Demographics,US Core Observation Occupation Profile,Occupation Industry,Observation,Observation,,Observation,, +16,Patient Summary and Plan,US Core CarePlan Profile,,,,,CarePlan,, +,Patient Summary and Plan,US Core CarePlan Profile,Assessment and Plan of Treatment,CarePlan,CarePlan,,CarePlan,, +17,Problems,US Core Condition Problems and Health Concerns Profile,,Condition,Condition,,Condition,, +,Problems,US Core Condition Problems and Health Concerns Profile,Date of Resolution,Condition,Condition,,Condition.abatement[x],, +,Problems,US Core Condition Problems and Health Concerns Profile,Date of Diagnosis,Condition,Condition,assertedDate Extension,Condition.extension.where(url='http://hl7.org/fhir/StructureDefinition/condition-assertedDate') | Condition.onset[x] | Condition.onsetDate,, +,Problems,US Core Condition Problems and Health Concerns Profile,SDOH Problems/Health Concerns,Condition,Condition,,Condition,See Screening and Assessments Guidance,screening-and-assessments.html +18,Procedures,US Core Procedure Profile | US Core ServiceRequest Profile,,,,,"Procedure, ServiceRequest",, +,Procedures,US Core Procedure Profile,Procedure,Procedure,Procedure,,Procedure,, +,Procedures,US Core Procedure Profile|US Core DiagnosticReport Profile for Report and Note Exchange|US Core Immunization Profile,Time of Procedure,Procedure | DiagnosticRepor | Immunization,Procedure | DiagnosticRepor | Immunization,,"Procedure.pertormed[x],DiagnosticReport.effective[x],Immunization.occurrence[x]",, +,Procedures,US Core ServiceRequest Profile,Reason for Referral,ServiceRequest,ServiceRequest,,"ServiceRequest.reasonCode, ServiceRequest.reasonReference",, +,Procedures,US Core ServiceRequest Profile | US Core Procedure Profile,SDOH Interventions,ServiceRequest | Procedure,ServiceRequest | Procedure,,"ServiceRequest, Procedure",See Screening and Assessments Guidance,screening-and-assessments.html +19,Provenance,US Core Provenance Profile,,,,,Provenance,See Basic Provenance Guidance,basic-provenance.html +,Provenance,US Core Provenance Profile,Author Time Stamp,Provenance,Provenance,,Provenance.recorded,, +,Provenance,US Core Provenance Profile,Author Organization,Provenance,Provenance,,Provenance.agent,, +20,Vital Signs,US Core Vital Signs Profile,,,,,Observation,, +,Vital Signs,US Core Average Blood Pressure Profile ,Average Blood Pressure,Observation,Observation,,Observation,, +,Vital Signs,US Core Blood Pressure Profile ,Diastolic blood pressure,Observation,Observation,,Observation,, +,Vital Signs,US Core Blood Pressure Profile ,Systolic blood pressure,Observation,Observation,,Observation,, +,Vital Signs,US Core Body Height Profile ,Body height,Observation,Observation,,Observation,, +,Vital Signs,US Core Body Weight Profile ,Body weight,Observation,Observation,,Observation,, +,Vital Signs,US Core Heart Rate Profile ,Heart rate,Observation,Observation,,Observation,, +,Vital Signs,US Core Respiratory Rate Profile ,Respiratory rate,Observation,Observation,,Observation,, +,Vital Signs,US Core Body Temperature Profile ,Body temperature,Observation,Observation,,Observation,, +,Vital Signs,US Core Pulse Oximetry Profile ,Pulse oximetry,Observation,Observation,,Observation,, +,Vital Signs,US Core Pulse Oximetry Profile ,Inhaled oxygen concentration,Observation,Observation,,Observation,, +,Vital Signs,US Core Pediatric BMI for Age Observation Profile ,BMI Percentile (2-20 years old),Observation,Observation,,Observation,, +,Vital Signs,US Core Pediatric Weight for Height Observation Profile ,Weight-for-length Percentile (Birth - 36 months),Observation,Observation,,Observation,, +,Vital Signs,US Core Pediatric Head Occipital Frontal Circumference Percentile Profile,Occipital Frontal Head Circumference Percentile (Birth - 36 months),Observation,Observation,,Observation,, \ No newline at end of file diff --git a/input/images/tables/uscdi-table.xlsx b/input/images/tables/uscdi-table.xlsx new file mode 100644 index 00000000..13940c72 Binary files /dev/null and b/input/images/tables/uscdi-table.xlsx differ diff --git a/input/images/tables/valueset-ref-all-list.csv b/input/images/tables/valueset-ref-all-list.csv new file mode 100644 index 00000000..38043275 --- /dev/null +++ b/input/images/tables/valueset-ref-all-list.csv @@ -0,0 +1,13 @@ +URL,Version,Status,OIDs,Name,Title,Descriptino,Uses,Used,Sources +http://hl7.org/fhir/ValueSet/body-site,4.0.1,draft,"2.16.840.1.113883.4.642.3.141",SNOMEDCTBodyStructures,SNOMED CT Body Structures,"This value set includes all codes from [SNOMED CT](http://snomed.info/sct) where concept is-a 442083009 (Anatomical or acquired body site (body structure)).","StructureDefinition/us-core-average-blood-pressure","SCT" +http://hl7.org/fhir/ValueSet/data-absent-reason,4.0.1,active,"2.16.840.1.113883.4.642.3.5",DataAbsentReason,DataAbsentReason,"Used to specify why the normally expected content of the data element is missing.","StructureDefinition/us-core-average-blood-pressure","THO" +http://hl7.org/fhir/ValueSet/languages,4.0.1,draft,"2.16.840.1.113883.4.642.3.20",CommonLanguages,Common Languages,"This value set includes common codes from BCP-47 (http://tools.ietf.org/html/bcp47)","StructureDefinition/us-core-average-blood-pressure","hl7.terminology.r4" +http://hl7.org/fhir/ValueSet/observation-category,4.0.1,draft,"2.16.840.1.113883.4.642.3.403",ObservationCategoryCodes,Observation Category Codes,"Observation Category codes.","StructureDefinition/us-core-average-blood-pressure","THO" +http://hl7.org/fhir/ValueSet/observation-interpretation,4.0.1,active,"2.16.840.1.113883.4.642.3.399",ObservationInterpretationCodes,Observation Interpretation Codes,"A categorical assessment, providing a rough qualitative interpretation of the observation value, such as “normal”/ “abnormal”,”low” / “high”, “better” / “worse”, “susceptible” / “resistant”, “expected”/ “not expected”. The value set is intended to be for ANY use where coded representation of an interpretation is needed. Notes: This is being communicated in v2.x in OBX-8 (Observation Interpretation), in v3 in ObservationInterpretation (CWE) in R1 (Representative Realm) and in FHIR in Observation.interpretation. Historically these values come from the laboratory domain, and these codes are extensively used. The value set binding is extensible, so codes outside the value set that are needed for interpretation concepts (i.e. particular meanings) that are not included in the value set can be used, and these new codes may also be added to the value set and published in a future version.","StructureDefinition/us-core-average-blood-pressure","THO (V3)" +http://hl7.org/fhir/ValueSet/observation-methods,4.0.1,draft,"2.16.840.1.113883.4.642.3.395",ObservationMethods,Observation Methods,"Observation Method codes from [SNOMED CT](http://snomed.info/sct) where concept is-a 272394005 (Technique (qualifier value)) or is-a 129264002 (Action (qualifier value)) or is-a 386053000 (Evaluation procedure(procedure))","StructureDefinition/us-core-average-blood-pressure","SCT" +http://hl7.org/fhir/ValueSet/observation-status,4.0.1,active,"2.16.840.1.113883.4.642.3.400",ObservationStatus,ObservationStatus,"Codes providing the status of an observation.","StructureDefinition/us-core-average-blood-pressure","hl7.fhir.r4.core" +http://hl7.org/fhir/ValueSet/quantity-comparator,4.0.1,active,"2.16.840.1.113883.4.642.3.59",QuantityComparator,QuantityComparator,"How the Quantity should be understood and represented.","StructureDefinition/us-core-average-blood-pressure","hl7.fhir.r4.core" +http://hl7.org/fhir/ValueSet/referencerange-appliesto,4.0.1,draft,"2.16.840.1.113883.4.642.3.407",ObservationReferenceRangeAppliesToCodes,Observation Reference Range Applies To Codes,"This value set defines a set of codes that can be used to indicate the particular target population the reference range applies to.","StructureDefinition/us-core-average-blood-pressure","SCT" +http://hl7.org/fhir/ValueSet/referencerange-meaning,4.0.1,draft,"2.16.840.1.113883.4.642.3.397",ObservationReferenceRangeMeaningCodes,Observation Reference Range Meaning Codes,"This value set defines a set of codes that can be used to indicate the meaning/use of a reference range for a particular target population.","StructureDefinition/us-core-average-blood-pressure","THO" +http://hl7.org/fhir/ValueSet/ucum-vitals-common,4.0.1,draft,"2.16.840.1.113883.4.642.3.955",VitalSignsUnits,Vital Signs Units,"Common UCUM units for recording Vital Signs","StructureDefinition/us-core-average-blood-pressure","UCUM" +http://hl7.org/fhir/us/core/ValueSet/us-core-vital-signs,6.1.0,active,,UsCoreVitalSigns,US Core Vital Signs ValueSet,"The vital sign codes from the base FHIR and US Core Vital Signs.","StructureDefinition/us-core-average-blood-pressure","LOINC" diff --git a/input/images/tables/valueset-ref-all-list.xlsx b/input/images/tables/valueset-ref-all-list.xlsx new file mode 100644 index 00000000..847403a8 Binary files /dev/null and b/input/images/tables/valueset-ref-all-list.xlsx differ diff --git a/input/includes/assessment_examples.md b/input/includes/assessment_examples.md new file mode 100644 index 00000000..c947404a --- /dev/null +++ b/input/includes/assessment_examples.md @@ -0,0 +1,10 @@ +{% assign assessments = "SDOH,Functional,Disability,Mental,PE,Booze,Drugs" %} +{% for group in site.data.uscdi-examples.groups %} +{%- if assessments contains group[0] -%} +#### {{ group[1].description }} + +{% for example in group[1].resources -%} +- {% include example_link.md example=example %} +{% endfor -%} +{%- endif -%} +{% endfor %} \ No newline at end of file diff --git a/input/includes/codesystem-ref-all-table-generator.html b/input/includes/codesystem-ref-all-table-generator.html new file mode 100644 index 00000000..8560abce --- /dev/null +++ b/input/includes/codesystem-ref-all-table-generator.html @@ -0,0 +1,84 @@ + + +Code System Sources: + +- [FHIR]({{site.data.fhir.path}}) +- [US CORE](terminology.html) + +- [THO](http://terminology.hl7.org/) +- [SNOMED](http://snomed.info/sct) +- [LOINC](http://loinc.org) +- [UCUM](http://unitsofmeasure.org) +- Code systems published by other standards organizations + +{% assign rows = site.data.codesystem-ref-all-list | sort: "Title" %} +{% for item in rows %} +{% assign cs_link = item.URL %} +{% assign no_link = false %} +{% assign source = "Other" %} +{% if forloop.first %} + + + + + + + + + + + +{% endif %} +{% if item.URL contains 'http://hl7.org/fhir/us/core/CodeSystem/' %} +{% assign source = "US CORE" %} +{% assign stem_URL = item.URL | split: 'CodeSystem/' | last %} +{% assign cs_link = "CodeSystem-" | append: stem_URL | append: '.html' %} +{% elsif item.URL contains 'http://terminology.hl7.org/CodeSystem/' %} +{% assign source = "THO" %} +{% elsif item.URL contains 'http://hl7.org/fhir/CodeSystem' %} +{% assign source = "FHIR" %} +{% assign stem_URL = item.URL | split: 'CodeSystem/' | last %} +{% assign cs_link = site.data.fhir.path | append: "codesystem-" | append: stem_URL | append: '.html' %} +{% elsif item.URL contains 'http://hl7.org/fhir/' %} +{% assign source = "FHIR" %} +{% assign stem_URL = item.URL | split: 'fhir/' | last %} +{% assign cs_link = site.data.fhir.path | append: "codesystem-" | append: stem_URL | append: '.html' %} +{% elsif item.URL contains 'http://cts.nlm.nih.gov/fhir/' %} +{% assign source = "VSAC" %} +{% elsif item.URL contains 'http://phinvads.cdc.gov/fhir/' %} +{% assign source = "PHINVADS" %} +{% elsif item.URL contains 'http://snomed.info/sct' %} +{% assign source = "SNOMED" %} +{% elsif item.URL contains 'http://unitsofmeasure.org' %} +{% assign source = "UCUM" %} +{% elsif item.URL contains 'http://loinc.org' %} +{% assign source = "LOINC" %} +{% elsif item.URL contains "urn" %} +{% assign no_link = true %} +{% else %} +{% endif %} + + +{% else %}{{item.Title}}{% endif %} + + + + +{% if forloop.last %} + +
Row #Code SystemCode System URIValue Sets Where UsedSource
{{forloop.index}}{% if no_link %}{{item.Title}}{{item.URL}}{{item.Used | split: ',' | join: '
'}}
{{source}}
+{% endif %} + +{% endfor %} + + diff --git a/input/includes/comma-sep-scopes.md b/input/includes/comma-sep-scopes.md new file mode 100644 index 00000000..e4152181 --- /dev/null +++ b/input/includes/comma-sep-scopes.md @@ -0,0 +1,30 @@ +{%- assign rows = site.data.scopes -%} +{%- assign scopes = '' -%} +{%- for item in rows -%} +{%- unless forloop.first -%} +{%- unless item.add_scope == "FALSE" -%} +{%- assign scope = item.resource_type | strip | prepend: 'patient/' | append: '.rs,' -%} +{%- assign scopes = scopes | append: scope -%} +{%- if item.category_1 -%} +{%- assign resource_type = scope | replace: ',' | append: '?category=' -%} +{%- assign category = item.category_1 | strip | append: ',' -%} +{%- assign scope = resource_type | append: category -%} +{%- assign scopes = scopes | append: scope -%} +{%- endif -%} +{%- if item.category_2 -%} +{%- assign category = item.category_2 | strip | append: ',' -%} +{%- assign scope = resource_type | append: category -%} +{%- assign scopes = scopes | append: scope -%} +{%- endif -%} +{%- if item.category_3 -%} +{%- assign category = item.category_3 | strip | append: ',' -%} +{%- assign scope = resource_type | append: category -%} +{%- assign scopes = scopes | append: scope -%} +{%- endif -%} +{%- endunless -%} +{%- endunless -%} +{%- endfor -%} +{%- assign scopes = scopes | split: "," | uniq | sort -%} +{% for scope in scopes -%} + {{ scope | prepend: ' "'}}"{% unless forloop.last %},{% endunless %} +{% endfor %} \ No newline at end of file diff --git a/input/includes/example_link.md b/input/includes/example_link.md new file mode 100644 index 00000000..f5b9d4ad --- /dev/null +++ b/input/includes/example_link.md @@ -0,0 +1,6 @@ +{%- for resource in site.data.ig.definition.resource -%} +{%- if resource.reference.reference == include.example -%} +[{{resource.name}}]({{ include.example | replace: "/", "-"}}.html) +{%- break -%} +{%- endif -%} +{%- endfor -%} diff --git a/input/includes/no-ms-refs.md b/input/includes/no-ms-refs.md new file mode 100644 index 00000000..cb166713 --- /dev/null +++ b/input/includes/no-ms-refs.md @@ -0,0 +1,7 @@ + +Although none of the {% if include.element %}`{{include.element}}`{% endif %} [references are flagged as *Must Support*](must-support.html#must-support---resource-references), the server **SHALL** support at least one of them. \ No newline at end of file diff --git a/input/includes/obs_cat_guidance.md b/input/includes/obs_cat_guidance.md new file mode 100644 index 00000000..a12c24bf --- /dev/null +++ b/input/includes/obs_cat_guidance.md @@ -0,0 +1 @@ +- {{include.recommendation}} The `Observation.category` element provides an efficient way of restricting search on observations to a given context such as {{include.category | append: ' observations'}}. Example searches are shown in the [Quick Start](#search) section below. However, clients need to understand that data categorization is somewhat subjective. The categorization applied by the source may not align with the client's expectations. Clients may find it more useful to use queries based on a specific code or set of codes or to perform additional client side filtering of query results. diff --git a/input/includes/valueset-ref-all-table-generator.html b/input/includes/valueset-ref-all-table-generator.html new file mode 100644 index 00000000..cfc44405 --- /dev/null +++ b/input/includes/valueset-ref-all-table-generator.html @@ -0,0 +1,55 @@ + + +Value Set Sources: + +- [VSAC](http://cts.nlm.nih.gov/fhir/) +- [FHIR]({{site.data.fhir.path}}) +- [US CORE](terminology.html) +- [PHINVADS](http://phinvads.cdc.gov/fhir/) +- [THO](http://terminology.hl7.org/) + +{% assign rows = site.data.valueset-ref-all-list | sort: "Title" %} + +{% for item in rows %} + +{% if forloop.first %} + + + + + + + + + + + +{% endif %} +{% assign base_URL = item.URL | split: 'ValueSet/' | first %} +{% assign stem_URL = item.URL | split: 'ValueSet/' | last %} +{% assign vs_link = site.data.source[base_URL][1] | replace: "{{stem_URL}}", stem_URL | replace: "{{site.data.fhir.path}}", {{site.data.fhir.path}} %} + + + + + + + +{% if forloop.last %} + +
Row #Value SetProfiles Where UsedSource
{{forloop.index}}{{item.Title}}{{item.Uses | split: ',' | join: '
'}}
{{site.data.source[base_URL][0]}}
+{% endif %} + +{% endfor %} + + diff --git a/input/intro-notes/StructureDefinition-us-core-care-experience-preference-intro.md b/input/intro-notes/StructureDefinition-us-core-care-experience-preference-intro.md deleted file mode 100644 index 72a60e47..00000000 --- a/input/intro-notes/StructureDefinition-us-core-care-experience-preference-intro.md +++ /dev/null @@ -1,47 +0,0 @@ -{% include new_page.md %} - -**Example Usage Scenarios:** - -The following are example usage scenarios for this profile: - -- Query for a patient's care experience preferences. -- [Record or update] clinical observations or assessments about a patient’s care experience preferences. - -### Mandatory and Must Support Data Elements - -*In addition* to the Mandatory and Must Support data elements in the US Core Simple Observation Profile, the following data-elements must always be present ([Mandatory] definition) or must be supported if the data is present in the sending system ([Must Support] definition). They are presented below in a simple human-readable explanation. Profile specific guidance and examples are provided as well. The [Formal Views] below provides the formal summary, definitions, and terminology requirements. {%- include diff-display-note.md parent_profile='US Core Simple Observation Profile' %} - -**Each Observation Must Have:** - -1. a fixed code for care experience preference* - -\*see guidance below - -**Each Observation Must Support:** - -1. a category code of "care-experience-preference" - -**Additional USCDI Requirements (inherited from Simple Observation Profile)** - - - -1. a reference to an associated form or document the observation is made from* - -\*see guidance below - -**Profile Specific Implementation Guidance:** - -**Profile Specific Implementation Guidance:** - -- Care experience preferences are patient-authored information used to share an individual's goals, preferences, and priorities for overall experiences during their care and treatment. They guide caregivers and medical personnel about what is important to them. The value for these types of observations is typically a string. -{% include additional-codings.md example1=', for example, the more specific LOINC, “81364-2 (Religious or cultural beliefs [Reported]) from the ”'%} - - See the existing [Care Experience Preferences at End of Life Grouping] for more specific concepts representing an individual's care experience preferences - - We expect this value set's "end of life" name and text scope to be removed in a upcoming [Value Set Authority Center (VSAC)] update before the publication of this version of US Core. - {:.note-to-balloters} - -- The observation **MAY** be derived from or reference a document (for example an advance directive document.) using `Observation.derivedFrom'. - -{% include quickstart-intro.md %} - -{% include link-list.md %} diff --git a/input/intro-notes/StructureDefinition-us-core-medication-adherence-intro.md b/input/intro-notes/StructureDefinition-us-core-medication-adherence-intro.md deleted file mode 100644 index 9e203d77..00000000 --- a/input/intro-notes/StructureDefinition-us-core-medication-adherence-intro.md +++ /dev/null @@ -1,5 +0,0 @@ -{% include new_page.md %} - -**Profile Specific Implementation Guidance:** - -* The `informationSource` subextension lists several profile references. Although none of the [references are flagged as *Must Support*](must-support.html#must-support---resource-references), the server **SHALL** support at least one of them. \ No newline at end of file diff --git a/input/intro-notes/StructureDefinition-us-core-medicationrequest-intro.md b/input/intro-notes/StructureDefinition-us-core-medicationrequest-intro.md deleted file mode 100644 index 8b885481..00000000 --- a/input/intro-notes/StructureDefinition-us-core-medicationrequest-intro.md +++ /dev/null @@ -1,73 +0,0 @@ - -**Example Usage Scenarios:** - -The following are example usage scenarios for the US Core-MedicationRequest -profile. See the [Medication List] section for guidance on accessing a patient medications: - -- Fetching all medications that have been prescribed to a particular patient -- Fetching all *active* medications that have been prescribed to particular patient -- Fetching all medications that have been prescribed to particular patient during a particular encounter -- [Record or update] medications that have been prescribed for a particular - patient - -### Mandatory and Must Support Data Elements - - -The following data-elements must always be present ([Mandatory] definition) or must be supported if the data is present in the sending system ([Must Support] definition). They are presented below in a simple human-readable explanation. Profile specific guidance and examples are provided as well. The [Formal Views] below provides the formal summary, definitions, and terminology requirements. - -**Each MedicationRequest Must Have:** - -1. a status -1. an intent code -1. a medication* -1. a patient - - -\* see guidance below - -**Each MedicationRequest Must Support:** - - -2. the category (e.g., Discharge Medication) -3. the `reported` flag or reference signaling that information is from a secondary source such as a patient -4. the encounters -5. a prescriber -6. a date for when written -7. the prescription *Sig* -8. the amount dispensed and number of refills -9. the dose and rate - -{% include additional-requirements-intro.md type="MedicationRequest" plural="true" %} - -1. the reason or indication for the prescription* -1. reported adherence to prescribed medication instructions** - -\*\* \*\*\* see guidance below - - -**Profile Specific Implementation Guidance:** - -* See the [Medication List] section for guidance on accessing a patient medications including over the counter (OTC) medication and other substances taken for medical and recreational use. - * When recording “self-prescribed” medication, `requester` **SHOULD** be used to indicate the Patient or RelatedPerson as the prescriber. - -{% include representing-meds.md %} - -* The MedicationRequest resource can represent that information is from a secondary source using either a boolean flag or a reference using `MedicationRequest.reportedReference`. - * Although both are marked as Must Support, the server system is not required to support both, but **SHALL** support at least one of these elements. - * The client application **SHALL** support both elements. - -- \*\*The MedicationRequest resource can communicate the reason or indication for treatment using either a code in `MedicationRequest.reasonCode` or a reference using `MedicationRequest.reasonReference`. - - As documented [here](general-guidance.html#referencing-us-core-profiles), when using `MedicationRequest.reasonReference`, the referenced Condition or Observation **SHOULD** be a US Core Profile. - -* Source EHR identifiers **SHOULD** be included to support deduplication across MedicationRequest resources. Exposing the EHR identifiers helps client applications identify duplicates. -* Servers **SHALL** follow the guidance in the [Medication List] page and return all `active` Medications as MedicationRequest. It is always best practice to confirm this list with the Patient or Caregiver. - -- \*\*\* This profile uses the [US Core Medication Adherence Extension] to report - medication adherence. This extension communicates whether a medication has - been consumed according to instructions for discharge, community-prescribed, - and self-prescribed medications. It is not intended to track adherence to - the Inpatient Medication Administration Record (MAR). In FHIR, [MedicationAdministration] - is typically used to monitor compliance with the MAR. - - -{% include link-list.md %} diff --git a/input/intro-notes/StructureDefinition-us-core-procedure-intro.md b/input/intro-notes/StructureDefinition-us-core-procedure-intro.md deleted file mode 100644 index 22d2ad3d..00000000 --- a/input/intro-notes/StructureDefinition-us-core-procedure-intro.md +++ /dev/null @@ -1,53 +0,0 @@ - -**Example Usage Scenarios:** - -The following are example usage scenarios for this profile: - -- Query for procedures performed on a Patient -- [Record or update] a procedure performed on a Patient - - -### Mandatory and Must Support Data Elements - - -The following data-elements must always be present ([Mandatory] definition) or must be supported if the data is present in the sending system ([Must Support] definition). They are presented below in a simple human-readable explanation. Profile specific guidance and examples are provided as well. The [Formal Views] below provides the formal summary, definitions, and terminology requirements. - -**Each Procedure Must Have:** - -1. a status -1. a code that identifies the type of procedure performed on the patient -1. a patient -2. when the procedure was performed* - -\*This elements have the following constraints: **SHALL** be present if status is 'completed' or 'in-progress'. - -**Each Procedure Must Support:** - -1. the encounter associated with the procedure - - -**Additional USCDI Requirements** - -{% include additional-requirements-intro.md type="Procedure" %} - -1. a reason or indication for referral or consultation* - -\*see guidance below - -**Profile Specific Implementation Guidance:** - -- Procedure codes can be taken from SNOMED-CT, CPT, HCPCS II, ICD-10-PCS, CDT. LOINC. - - Only LOINC concepts that reflect actual procedures **SHOULD** be used -- A procedure including an implantable device **SHOULD** use `Procedure.focalDevice` with a reference to the [US Core Implantable Device Profile]. -- See the [Screening and Assessments] guidance page for more information when exchanging Social Determinants of Health (SDOH) Procedures -- *The Reason or justification for a referral or consultation is communicated through: - 1. `ServiceRequest.reason` or `ServiceRequest.reason`, and `Procedure.basedOn` that links the Procedure to the US Core ServiceRequest Profile. - - `ServiceRequest.reasonCode` and `ServiceRequest.reasonReference` are marked as Additional USCDI Requirements. The certifying server system is not required to support both but **SHALL** support at least one of these elements. The certifying client application **SHALL** support both elements. - - As documented [here](general-guidance.html#referencing-us-core-profiles), when using `ServiceRequest.reasonReference`, the referenced resources **SHOULD** be a US Core Profile. - 1. `Procedure.reasonCode` or `Procedure.reasonReference` when the Procedure does not have an associated ServiceRequest. - - Although both `Procedure.reasonCode` and `Procedure.reasonReference` are marked as Additional USCDI Requirements. The certifying server system is not required to support both but **SHALL** support at least one of these elements. The certifying client application **SHALL** support both elements. - - As documented [here](general-guidance.html#referencing-us-core-profiles), when using `Procedure.reasonReference`, the referenced resources **SHOULD** be a US Core Profile. - - Certifying Servers and Clients **SHALL** support options 1 and 2 as Additional USCDI Requirements. - -{% include link-list.md %} diff --git a/input/intro-notes/StructureDefinition-us-core-treatment-intervention-preference-intro.md b/input/intro-notes/StructureDefinition-us-core-treatment-intervention-preference-intro.md deleted file mode 100644 index 81eeeb82..00000000 --- a/input/intro-notes/StructureDefinition-us-core-treatment-intervention-preference-intro.md +++ /dev/null @@ -1,38 +0,0 @@ -{% include new_page.md %} - -**Example Usage Scenarios:** - -The following are example usage scenarios for this profile: - -- Query for a patient's treatment intervention preferences. -- [Record or update] clinical observations or assessments about a patient’s treatment intervention preferences. - -### Mandatory and Must Support Data Elements - -*In addition* to the Mandatory and Must Support data elements in the US Core Simple Observation Profile, the following data-elements must always be present ([Mandatory] definition) or must be supported if the data is present in the sending system ([Must Support] definition). They are presented below in a simple human-readable explanation. Profile specific guidance and examples are provided as well. The [Formal Views] below provides the formal summary, definitions, and terminology requirements. {%- include diff-display-note.md parent_profile='US Core Simple Observation Profile' %} - -**Each Observation Must Have:** - -1. a fixed code for treatment intervention preference* - -\*see guidance below - -**Each Observation Must Support:** - -1. a category code of 'intervention-preference' - -**Additional USCDI Requirements (inherited from Simple Observation Profile)** - - - -1. a reference to an associated form or document the observation is made from* - -\*see guidance below - -**Profile Specific Implementation Guidance:** - -- Treatment intervention preferences are patient-authored information used to share an individual's medical treatment and intervention goals, preferences, and priorities. They guide caregivers and medical personnel when the patient cannot communicate. The value for these types of observations is typically a string. -{% include additional-codings.md example1=', for example, the more specific LOINC, “75779-9 (Thoughts on cardiopulmonary resuscitation (CPR) [Reported])”'%} -- The observation **MAY** be derived from or reference a form or document (for example an advance directive document.) using `Observation.derivedFrom'. - -{% include link-list.md %} diff --git a/input/pagecontent/guidance.md b/input/pagecontent/guidance.md index 5474ce1b..86d7c466 100644 --- a/input/pagecontent/guidance.md +++ b/input/pagecontent/guidance.md @@ -16,7 +16,7 @@ icons (png files) = `input/images/<"kebab case" USCDI class names>.png` 2. The pagecontent/uscdi.md page is where the table is rendered 3. the liquid template tag "{% include uscdi-uscore-map.html %}" references `includes/uscdi-uscore-map.html` which does the rendering - this file depends on another liquid template {% include sd_link.html title = title %} which refererence `includes/sd_link.html` to get the profile page link. - 1. icons (png images) are in the `input/images` are named using the "kebab case" USCDI class names.{% endraw %} --> + 1. icons (png images) are in the `input/images` are named using the "kebab case" USCDI class names. The US Core Profiles were originally designed to meet the 2015 Edition certification criterion for Patient Selection 170.315(g)(7) and Application Access – Data Category Request 170.315(g)(8). They were created for each item in the [2015 Edition Common Clinical Data Set (CCDS)]. The Location, Organization, and Practitioner Profiles are not called out specifically in the certification criteria but are included because other profiles directly reference them. The US Core Profiles are informed by the prior [Data Access Framework] and the [Argonaut Data Query] Implementation Guides. However, the profiles here are stand-alone and include requirements from the [U.S. Core Data for Interoperability (USCDI) v4]. @@ -24,6 +24,8 @@ The table below lists the US Core Profile and FHIR Resources used for the corres {% include uscdi-uscore-map.html %} +{% endraw %} --> + {% include link-list.md %} \ No newline at end of file diff --git a/input/pagecontent/index.md b/input/pagecontent/index.md index 19a21518..66bac644 100644 --- a/input/pagecontent/index.md +++ b/input/pagecontent/index.md @@ -8,3 +8,33 @@ testbed for ideas.... +sources + +{{site.data.source | inspect }} + + + + +{{site.data.source['http://terminology.hl7.org/'] | inspect }} + + +{% raw %} {% include valueset-ref-all-table-generator.html %} + {% endraw %} + + ☟☟☟ + +{% include valueset-ref-all-table-generator.html %} + +☝☝☝ + + +{% raw %} {% include codesystem-ref-all-table-generator.html %} + {% endraw %} + + ☟☟☟ + +{% include codesystem-ref-all-table-generator.html %} + +☝☝☝ + diff --git a/input/pagecontent/scopes.md b/input/pagecontent/scopes.md index 6b7371c5..bbf701e2 100644 --- a/input/pagecontent/scopes.md +++ b/input/pagecontent/scopes.md @@ -110,9 +110,14 @@ Content-Type: application/json "client_credentials" ], "registration_endpoint": "https://ehr.example.com/auth/register", - /// <<<<<<<<>>>>>>> - "scopes_supported": ["openid", "profile", "launch", "launch/patient", "patient/*.rs", "user/*.rs", "offline_access"], - /// <<<<<<<<<>>>>>>>> + "scopes_supported": [ + "openid", + "profile", + "launch", + "launch/patient", + "offline_access", +{% include comma-sep-scopes.md %} + ], "response_types_supported": ["code"], "management_endpoint": "https://ehr.example.com/user/manage", "introspection_endpoint": "https://ehr.example.com/user/introspect", @@ -130,6 +135,35 @@ Content-Type: application/json } ~~~ +{% assign rows = site.data.scopes -%} +{% assign my_array = '' -%} +{% for item in rows -%} +{% unless forloop.first -%} +{% unless item.add_scope == "FALSE" -%} +{% assign scope = item.resource_type | prepend: '"patient/' | append: '.rs", ' -%} +{% assign my_array = my_array | append: scope -%} +{% if item.category_1 -%} +{% assign resource_type = scope | replace: '", ' | append: '?category=' -%} +{% assign category = item.category_1 | append: '", ' -%} +{% assign scope = resource_type | append: category -%} +{% assign my_array = my_array | append: scope -%} +{% endif -%} +{% if item.category_2 -%} +{% assign category = item.category_2 | append: '", ' -%} +{% assign scope = resource_type | append: category -%} +{% assign my_array = my_array | append: scope -%} +{% endif -%} +{% if item.category_3 -%} +{% assign category = item.category_3 | append: '", ' -%} +{% assign scope = resource_type | append: category -%} +{% assign my_array = my_array | append: scope -%} +{% endif -%} +{% endunless -%} +{% endunless -%} +{% endfor -%} +{% assign my_array = my_array | split: ", " -%} +{{ my_array | uniq | sort | join: ", " }} + diff --git a/input/pagecontent/screening-and-assessments.md b/input/pagecontent/screening-and-assessments.md index bd3c4cd3..9174a9ea 100644 --- a/input/pagecontent/screening-and-assessments.md +++ b/input/pagecontent/screening-and-assessments.md @@ -172,4 +172,11 @@ US Core uses broadly defined value sets that contain concepts used across use ca +### Examples + +These are example instances that show what Screening and Assessments data produced and consumed by systems conforming with this implementation guide might look like. + +{% include assessment_examples.md %} + + {% include link-list.md %} diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-average-blood-pressure.yml b/input/resources-yaml-copy/StructureDefinition-us-core-average-blood-pressure.yml deleted file mode 100644 index c1762065..00000000 --- a/input/resources-yaml-copy/StructureDefinition-us-core-average-blood-pressure.yml +++ /dev/null @@ -1,167 +0,0 @@ -resourceType: StructureDefinition -id: us-core-average-blood-pressure -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-average-blood-pressure -name: USCoreAverageBloodPressureProfile -title: US Core Average Blood Pressure Profile -status: active -experimental: false -date: 2023-10-20 -description: To promote interoperability and adoption through common implementation, - this profile sets minimum expectations for the Observation resource to record, search, - and fetch average diastolic and systolic blood pressure observations with standard - LOINC codes and UCUM units of measure. It is based on the US Core Vital Signs Profile - and identifies which *additional* core elements, extensions, vocabularies, and value - sets **SHALL** be present and constrains the way the elements are used when using - the profile. It provides the floor for standards development for specific use cases. -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Observation -baseDefinition: http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs -derivation: constraint -differential: - element: - - id: Observation - path: Observation - short: US Core Average Blood Pressure Profile - definition: \- - comment: \- - - id: Observation.code - path: Observation.code - short: Average Blood Pressure - type: - - code: CodeableConcept - patternCodeableConcept: - coding: - - system: http://loinc.org - code: 96607-7 - mustSupport: true - - id: Observation.effective[x] - path: Observation.effective[x] - short: clinically relevant time-period for the average of blood pressure (BP) - readings - type: - - code: dateTime - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: Period - mustSupport: true - - id: Observation.component - path: Observation.component - slicing: - discriminator: - - type: pattern - path: code - ordered: false - rules: open - short: Component observations - min: 2 - max: '*' - mustSupport: true - - id: Observation.component:systolic - path: Observation.component - sliceName: systolic - short: Average Systolic Blood Pressure - min: 1 - max: '1' - mustSupport: true - - id: Observation.component:systolic.code - path: Observation.component.code - short: Average Systolic Blood Pressure Code - min: 1 - max: '1' - patternCodeableConcept: - coding: - - system: http://loinc.org - code: 96608-5 - mustSupport: true - - id: Observation.component:systolic.valueQuantity - path: Observation.component.valueQuantity - short: Vital Sign Component Value - type: - - code: Quantity - mustSupport: true - - id: Observation.component:systolic.valueQuantity.value - path: Observation.component.valueQuantity.value - min: 1 - max: '1' - type: - - code: decimal - mustSupport: true - - id: Observation.component:systolic.valueQuantity.unit - path: Observation.component.valueQuantity.unit - min: 1 - max: '1' - type: - - code: string - mustSupport: true - - id: Observation.component:systolic.valueQuantity.system - path: Observation.component.valueQuantity.system - min: 1 - max: '1' - type: - - code: uri - fixedUri: http://unitsofmeasure.org - mustSupport: true - - id: Observation.component:systolic.valueQuantity.code - path: Observation.component.valueQuantity.code - min: 1 - max: '1' - type: - - code: code - fixedCode: mm[Hg] - mustSupport: true - - id: Observation.component:diastolic - path: Observation.component - sliceName: diastolic - short: Average Diastolic Blood Pressure - min: 1 - max: '1' - mustSupport: true - - id: Observation.component:diastolic.code - path: Observation.component.code - short: Average Diastolic Blood Pressure Code - min: 1 - max: '1' - patternCodeableConcept: - coding: - - system: http://loinc.org - code: 96609-3 - mustSupport: true - - id: Observation.component:diastolic.valueQuantity - path: Observation.component.valueQuantity - short: Vital Sign Component Value - type: - - code: Quantity - mustSupport: true - - id: Observation.component:diastolic.valueQuantity.value - path: Observation.component.valueQuantity.value - min: 1 - max: '1' - type: - - code: decimal - mustSupport: true - - id: Observation.component:diastolic.valueQuantity.unit - path: Observation.component.valueQuantity.unit - min: 1 - max: '1' - type: - - code: string - mustSupport: true - - id: Observation.component:diastolic.valueQuantity.system - path: Observation.component.valueQuantity.system - min: 1 - max: '1' - type: - - code: uri - fixedUri: http://unitsofmeasure.org - mustSupport: true - - id: Observation.component:diastolic.valueQuantity.code - path: Observation.component.valueQuantity.code - min: 1 - max: '1' - type: - - code: code - fixedCode: mm[Hg] - mustSupport: true diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-care-experience-preference.yml b/input/resources-yaml-copy/StructureDefinition-us-core-care-experience-preference.yml deleted file mode 100644 index 4eb87c57..00000000 --- a/input/resources-yaml-copy/StructureDefinition-us-core-care-experience-preference.yml +++ /dev/null @@ -1,69 +0,0 @@ -resourceType: StructureDefinition -id: us-core-care-experience-preference -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference -name: USCoreCareExperiencePreferenceProfile -title: US Core Care Experience Preference Profile -status: active -experimental: false -date: 2023-10-20 -description: To promote interoperability and adoption through common implementation, - this profile sets minimum expectations for the Observation resource to record, search, - and fetch for a patient's care experience preferences. It is based on the US Core - Simple Profile and identifies which *additional* core elements, extensions, vocabularies, - and value sets **SHALL** be present and constrains the way the elements are used - when using the profile. It provides the floor for standards development for specific - use cases. -copyright: Used by permission of HL7 International, all rights reserved Creative Commons - License -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Observation -baseDefinition: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation -derivation: constraint -differential: - element: - - id: Observation - path: Observation - short: US Core Care Experience Preference Profile - definition: \- - comment: \- - - id: Observation.category:us-core - path: Observation.category - sliceName: us-core - min: 0 - max: '1' - patternCodeableConcept: - coding: - - system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category - code: care-experience-preference - mustSupport: true - - id: Observation.code - path: Observation.code - short: Care experience preferences code - type: - - code: CodeableConcept - patternCodeableConcept: - coding: - - system: http://loinc.org - code: 95541-9 - mustSupport: true - - id: Observation.derivedFrom - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.derivedFrom - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: US Core Profiles or other - resource the observation is made from" - definition: US Core Observations, DocumentReference, QuestionnaireResponse or - other resource from which this observation value is derived. - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference - - http://hl7.org/fhir/StructureDefinition/Observation - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse - - http://hl7.org/fhir/StructureDefinition/ImagingStudy - - http://hl7.org/fhir/StructureDefinition/Media - - http://hl7.org/fhir/StructureDefinition/MolecularSequence diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-location.yml b/input/resources-yaml-copy/StructureDefinition-us-core-location.yml deleted file mode 100644 index a22dbd99..00000000 --- a/input/resources-yaml-copy/StructureDefinition-us-core-location.yml +++ /dev/null @@ -1,97 +0,0 @@ -resourceType: StructureDefinition -id: us-core-location -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-location -name: USCoreLocation -title: US Core Location Profile -status: active -experimental: false -date: 2023-10-20 -description: This profile sets minimum expectations for the Location resource for - recording, searching, and fetching a "physical place of available services or resources." It - identifies which core elements, extensions, vocabularies, and value sets **SHALL** - be present and constrains how the elements are used when using the profile. It - provides the floor for standards development for specific use cases to promote interoperability - and adoption through common implementation. -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Location -baseDefinition: http://hl7.org/fhir/StructureDefinition/Location -derivation: constraint -differential: - element: - - id: Location - path: Location - definition: \- - comment: \- - mustSupport: false - mapping: - - identity: servd - map: Organization - - id: Location.identifier - path: Location.identifier - short: Unique business identifier for facility or location. - mustSupport: true - - id: Location.status - path: Location.status - mustSupport: true - - id: Location.name - path: Location.name - short: Name by which a facility or location is known. - min: 1 - mustSupport: true - mapping: - - identity: servd - map: ./PrimaryAddress and ./OtherAddresses - - id: Location.type - path: Location.type - short: Category of service or resource available in a location. - mustSupport: true - binding: - strength: extensible - valueSet: http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType - - id: Location.telecom - path: Location.telecom - mustSupport: true - - id: Location.address - path: Location.address - mustSupport: true - mapping: - - identity: servd - map: n/a - - id: Location.address.line - path: Location.address.line - max: '*' - type: - - code: string - mustSupport: true - - id: Location.address.city - path: Location.address.city - type: - - code: string - mustSupport: true - - id: Location.address.state - path: Location.address.state - type: - - code: string - mustSupport: true - binding: - strength: extensible - description: Two letter USPS alphabetic codes. - valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state - mapping: - - identity: servd - map: ./Sites - - id: Location.address.postalCode - path: Location.address.postalCode - short: US Zip Codes - type: - - code: string - mustSupport: true - - id: Location.managingOrganization - path: Location.managingOrganization - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization - mustSupport: true diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-medication-adherence.yml b/input/resources-yaml-copy/StructureDefinition-us-core-medication-adherence.yml deleted file mode 100644 index e840868d..00000000 --- a/input/resources-yaml-copy/StructureDefinition-us-core-medication-adherence.yml +++ /dev/null @@ -1,141 +0,0 @@ -resourceType: StructureDefinition -id: us-core-medication-adherence -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence -name: USCoreMedicationAdherenceExtension -title: US Core Medication Adherence Extension -status: active -date: 2023-10-17 -description: A MedicationRequest extension representing reported adherence to prescribed - medication instructions. In other words, whether a medication was consumed according - to instructions. -fhirVersion: 4.0.1 -kind: complex-type -abstract: false -context: -- type: element - expression: MedicationRequest -type: Extension -baseDefinition: http://hl7.org/fhir/StructureDefinition/Extension -derivation: constraint -differential: - element: - - id: Extension - path: Extension - definition: Reported adherence to prescribed medication instructions. - min: 0 - max: '*' - - id: Extension.extension - path: Extension.extension - slicing: - discriminator: - - type: value - path: url - rules: open - min: 2 - - id: Extension.extension:medicationAdherence - path: Extension.extension - sliceName: medicationAdherence - code: - - system: http://loinc.org - code: 71799-1 - display: Adherence to prescribed medication instructions [Reported] - short: Medication adherence code - definition: Code stating whether the patient is consuming or being administered - the medication has according to instructions. For example, the patient in not - taking the medication as prescribed, or the patient is taking the medication - as prescribed. - min: 1 - max: '1' - type: - - code: Extension - mustSupport: true - - id: Extension.extension:medicationAdherence.url - path: Extension.extension.url - min: 1 - max: '1' - type: - - code: uri - fixedUri: medicationAdherence - - id: Extension.extension:medicationAdherence.value[x] - path: Extension.extension.value[x] - min: 1 - max: '1' - type: - - code: CodeableConcept - binding: - strength: extensible - description: This set of values contains terms representing whether a medication - has been consumed according to instructions. - valueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.59 - - id: Extension.extension:dateAsserted - path: Extension.extension - sliceName: dateAsserted - short: When the medication adherence was asserted - definition: When the medication adherence was asserted by the information source - min: 1 - max: '1' - type: - - code: Extension - mustSupport: true - - id: Extension.extension:dateAsserted.url - path: Extension.extension.url - min: 1 - max: '1' - type: - - code: uri - fixedUri: dateAsserted - - id: Extension.extension:dateAsserted.value[x] - path: Extension.extension.value[x] - min: 1 - max: '1' - type: - - code: dateTime - - id: Extension.extension:informationSource - path: Extension.extension - sliceName: informationSource - short: Who provided the information about the medication adherence - definition: The person or organization that provided the information about the - medication adherence - min: 0 - max: '*' - type: - - code: Extension - mustSupport: true - - id: Extension.extension:informationSource.url - path: Extension.extension.url - min: 1 - max: '1' - type: - - code: uri - fixedUri: informationSource - - id: Extension.extension:informationSource.value[x] - path: Extension.extension.value[x] - min: 1 - max: '1' - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson - _targetProfile: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - id: Extension.url - path: Extension.url - fixedUri: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence - - id: Extension.value[x] - path: Extension.value[x] - min: 0 - max: '0' diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-observation-lab.yml b/input/resources-yaml-copy/StructureDefinition-us-core-observation-lab.yml deleted file mode 100644 index 2c06fd33..00000000 --- a/input/resources-yaml-copy/StructureDefinition-us-core-observation-lab.yml +++ /dev/null @@ -1,124 +0,0 @@ -resourceType: StructureDefinition -id: us-core-observation-lab -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab -name: USCoreLaboratoryResultObservationProfile -title: US Core Laboratory Result Observation Profile -status: active -experimental: false -date: 2023-10-20 -description: "The US Core Laboratory Result Observation Profile is based upon the - US Core Observation Clinical Result Profile and, along with the US Core DiagnosticReport - Profile for Laboratory Results Reporting, meets the U.S. Core Data for Interoperability - (USCDI) Laboratory requirements. Laboratory results are grouped and summarized using - the DiagnosticReport resource, which references Observation resources. Each Observation - resource represents an individual laboratory test and result value, a \u201Cnested\u201D - panel (such as a microbial susceptibility panel) that references other observations, - or rarely a laboratory test with component result values. The US Core Laboratory - Result Observation Profile sets minimum expectations for the Observation resource - to record, search, and fetch laboratory test results associated with a patient to - promote interoperability and adoption through common implementation. It identifies - which core elements, extensions, vocabularies, and value sets SHALL be present in - the resource and constrains the way the elements are used when using this profile. - It provides the floor for standards development for specific use cases." -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Observation -baseDefinition: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result -derivation: constraint -differential: - element: - - id: Observation.category:us-core - path: Observation.category - sliceName: us-core - min: 1 - max: '1' - patternCodeableConcept: - coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: laboratory - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Observation.category - - id: Observation.code - path: Observation.code - short: Laboratory Test Name - mustSupport: true - binding: - strength: extensible - description: Laboratory LOINC Codes - valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-laboratory-test-codes - mapping: - - identity: argonaut-dq-dstu2 - map: Observation.code - - id: Observation.value[x] - path: Observation.value[x] - short: Result Value - definition: The Laboratory result value. If a coded value, the valueCodeableConcept.code - **SHOULD** be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults) - if the concept exists. If a numeric value, valueQuantity.code **SHALL** be selected - from [UCUM](http://unitsofmeasure.org). A FHIR [UCUM Codes value set](http://hl7.org/fhir/STU3/valueset-ucum-units.html) - that defines all UCUM codes is in the FHIR specification. - type: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: Quantity - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: CodeableConcept - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: string - - code: boolean - - code: integer - - code: Range - - code: Ratio - - code: SampledData - - code: time - - code: dateTime - - code: Period - condition: - - us-core-4 - constraint: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice - valueBoolean: true - key: us-core-4 - severity: warning - human: SHOULD use Snomed CT for coded Results - expression: ofType(CodeableConcept).coding.system.empty() or (ofType(CodeableConcept).coding.system - contains 'http://snomed.info/sct') - xpath: not(exists(f:valueCodeableConcept/f:coding/f:system) ) or f:valueCodeableConcept/f:coding/f:system[@value='http://snomed.info/sct'] - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Observation.value[x] - - id: Observation.interpretation - path: Observation.interpretation - short: Result interpretation - comment: Categorical assessment of a laboratory value, often in relation to a - test's reference range. Examples include but are not limited to high, low, critical, - and normal. - mustSupport: true - binding: - strength: extensible - description: Observation Interpretation Codes - valueSet: http://hl7.org/fhir/ValueSet/observation-interpretation - - id: Observation.specimen - path: Observation.specimen - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen - mustSupport: true - - id: Observation.referenceRange - path: Observation.referenceRange - short: Result reference range - comment: Upper and lower limit of test values expected for a designated population - of individuals. Reference range values may differ by patient characteristics, - laboratory test manufacturer and laboratory test performer. - mustSupport: true diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-patient.yml b/input/resources-yaml-copy/StructureDefinition-us-core-patient.yml deleted file mode 100644 index 138e1e7b..00000000 --- a/input/resources-yaml-copy/StructureDefinition-us-core-patient.yml +++ /dev/null @@ -1,358 +0,0 @@ -resourceType: StructureDefinition -id: us-core-patient -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient -name: USCorePatientProfile -title: US Core Patient Profile -status: active -experimental: false -date: 2023-10-20 -description: The US Core Patient Profile meets the U.S. Core Data for Interoperability - (USCDI) v3 'Patient Demographics' requirements. This profile sets minimum expectations - for the Patient resource to record, search, and fetch basic demographics and other - administrative information about an individual patient. It identifies which core - elements, extensions, vocabularies, and value sets **SHALL** be present in the resource - when using this profile to promote interoperability and adoption through common - implementation. It identifies which core elements, extensions, vocabularies, and - value sets **SHALL** be present in the resource and constrains the way the elements - are used when using this profile. It provides the floor for standards development - for specific use cases. -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Patient -baseDefinition: http://hl7.org/fhir/StructureDefinition/Patient -derivation: constraint -differential: - element: - - id: Patient - path: Patient - definition: \- - comment: \- - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: Patient - - id: Patient.extension:race - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.extension - sliceName: race - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: US Core Race Extension" - min: 0 - max: '1' - type: - - code: Extension - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-race - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.extension - - id: Patient.extension:ethnicity - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.extension - sliceName: ethnicity - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: US Core ethnicity Extension" - min: 0 - max: '1' - type: - - code: Extension - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.extension - - id: Patient.extension:tribalAffiliation - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.extension - sliceName: tribalAffiliation - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: Tribal Affiliation Extension" - min: 0 - max: '*' - type: - - code: Extension - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-tribal-affiliation - mustSupport: false - - id: Patient.extension:birthsex - path: Patient.extension - sliceName: birthsex - short: Birth Sex Extension - min: 0 - max: '1' - type: - - code: Extension - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.extension - - id: Patient.extension:sex - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.extension - sliceName: sex - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: Sex Extension" - min: 0 - max: '1' - type: - - code: Extension - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-sex - mustSupport: false - - id: Patient.extension:genderIdentity - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.extension - sliceName: genderIdentity - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: The individual's gender - identity" - min: 0 - max: '*' - type: - - code: Extension - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity - mustSupport: false - - id: Patient.identifier - path: Patient.identifier - min: 1 - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.identifier - - id: Patient.identifier.system - path: Patient.identifier.system - min: 1 - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.identifier.system - - id: Patient.identifier.value - path: Patient.identifier.value - short: The value that is unique within the system. - min: 1 - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.identifier.value - - id: Patient.name - path: Patient.name - min: 1 - constraint: - - key: us-core-6 - severity: error - human: At least name.given and/or name.family are present or, if neither is - available, the Data Absent Reason Extension is present. - expression: (family.exists() or given.exists()) xor extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists() - xpath: (/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason' - and not(/f:family or /f:given)) or (not(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason') - and (/f:family or /f:given)) - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.name - - id: Patient.name.use - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.name.use - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: usual | official | temp - | nickname | anonymous | old | maiden" - - id: Patient.name.family - path: Patient.name.family - condition: - - us-core-6 - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.name.family - - id: Patient.name.given - path: Patient.name.given - condition: - - us-core-6 - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.name.given - - id: Patient.name.suffix - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.name.suffix - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: Parts that come after the - name" - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.name.period - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.name.period - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: Time period when name was/is - in use" - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.telecom - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.telecom - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: A contact detail for the - individual" - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.telecom.system - path: Patient.telecom.system - min: 1 - mustSupport: true - binding: - strength: required - description: Telecommunications form for contact point. - valueSet: http://hl7.org/fhir/ValueSet/contact-point-system - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.telecom.value - path: Patient.telecom.value - min: 1 - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.telecom.use - path: Patient.telecom.use - mustSupport: true - binding: - strength: required - valueSet: http://hl7.org/fhir/ValueSet/contact-point-use - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.gender - path: Patient.gender - min: 1 - type: - - code: code - mustSupport: true - binding: - strength: required - valueSet: http://hl7.org/fhir/ValueSet/administrative-gender - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.gender - - id: Patient.birthDate - path: Patient.birthDate - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.birthDate - - id: Patient.deceased[x] - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.deceased[x] - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: Indicates if the individual - is deceased or not" - - id: Patient.address - path: Patient.address - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.birthDate - - id: Patient.address.use - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.address.use - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: home | work | temp | old - | billing - purpose of this address" - - id: Patient.address.line - path: Patient.address.line - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.address.city - path: Patient.address.city - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.address.state - path: Patient.address.state - mustSupport: true - binding: - strength: extensible - description: Two Letter USPS alphabetic codes. - valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.address.postalCode - path: Patient.address.postalCode - short: US Zip Codes - alias: - - Zip Code - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.address.period - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.address.period - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: Time period when address - was/is in use" - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.communication - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.communication - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: A language which may be - used to communicate with the patient about his or her health" - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.communication - - id: Patient.communication.language - path: Patient.communication.language - mustSupport: true - binding: - strength: extensible - valueSet: http://hl7.org/fhir/us/core/ValueSet/simple-language - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.communication.language diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-procedure.yml b/input/resources-yaml-copy/StructureDefinition-us-core-procedure.yml deleted file mode 100644 index cf22d11a..00000000 --- a/input/resources-yaml-copy/StructureDefinition-us-core-procedure.yml +++ /dev/null @@ -1,108 +0,0 @@ -resourceType: StructureDefinition -id: us-core-procedure -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure -name: USCoreProcedureProfile -title: US Core Procedure Profile -status: active -experimental: false -date: 2023-10-20 -publisher: HL7 US Realm Steering Committee -description: The US Core Procedure Profile is based upon the core FHIR Procedure Resource - and meets the U.S. Core Data for Interoperability (USCDI) v2 'Procedures' requirements. - This profile sets minimum expectations for the Procedure resource to record, search, - and fetch procedures associated with a patient to promote interoperability and adoption - through common implementation. It identifies which core elements, extensions, vocabularies, - and value sets **SHALL** be present in the resource and constrains the way the elements - are used when using this profile. It provides the floor for standards development - for specific use cases. -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Procedure -baseDefinition: http://hl7.org/fhir/StructureDefinition/Procedure -derivation: constraint -differential: - element: - - id: Procedure - path: Procedure - definition: \- - comment: \- - constraint: - - key: us-core-7 - severity: error - human: Performed SHALL be present if the status is 'completed' or 'in-progress' - expression: (status='completed' or status='in-progress') implies performed.exists() - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: Procedure - - id: Procedure.basedOn - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Procedure.basedOn - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: A request for this procedure" - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest - mustSupport: false - - id: Procedure.status - path: Procedure.status - condition: - - us-core-7 - mustSupport: true - binding: - strength: required - valueSet: http://hl7.org/fhir/ValueSet/event-status - mapping: - - identity: argonaut-dq-dstu2 - map: Procedure.status - - id: Procedure.code - path: Procedure.code - min: 1 - mustSupport: true - binding: - strength: extensible - description: Codes describing the type of Procedure - valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code - mapping: - - identity: argonaut-dq-dstu2 - map: Procedure.code - - id: Procedure.subject - path: Procedure.subject - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Procedure.subject - - id: Procedure.encounter - path: Procedure.encounter - short: Encounter associated with the procedure - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter - mustSupport: true - - id: Procedure.performed[x] - path: Procedure.performed[x] - type: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: dateTime - - code: Period - - code: string - - code: Age - - code: Range - condition: - - us-core-7 - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Procedure.performed[x] diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-specimen.yml b/input/resources-yaml-copy/StructureDefinition-us-core-specimen.yml deleted file mode 100644 index 5cad3a13..00000000 --- a/input/resources-yaml-copy/StructureDefinition-us-core-specimen.yml +++ /dev/null @@ -1,81 +0,0 @@ -resourceType: StructureDefinition -id: us-core-specimen -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen -name: USCoreSpecimenProfile -title: US Core Specimen Profile -status: active -experimental: false -date: 2023-10-20 -description: This profile sets minimum expectations for the Specimen resource to record, - search, and fetch "substances being sampled or tested. (e.g., nasopharyngeal swab, - whole blood, serum, urine, wound swab)" associated with a patient to promote interoperability - and adoption through common implementation. It identifies which core elements, - extensions, vocabularies, and value sets **SHALL** be present in the resource and - constrains the way the elements are used when using this profile. It provides the - floor for standards development for specific use cases. -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Specimen -baseDefinition: http://hl7.org/fhir/StructureDefinition/Specimen -derivation: constraint -differential: - element: - - id: Specimen - path: Specimen - definition: \- - comment: \- - mustSupport: false - - id: Specimen.identifier - path: Specimen.identifier - short: Specimen identifier - mustSupport: true - - id: Specimen.type - path: Specimen.type - min: 1 - mustSupport: true - binding: - strength: extensible - valueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.54 - - id: Specimen.subject - path: Specimen.subject - short: The patient where the specimen came from. - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - mustSupport: true - - id: Specimen.collection - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Specimen.collection - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: Collection details" - - id: Specimen.collection.bodySite - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Specimen.collection.bodySite - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: Specimen Source Site" - comment: Body location from where a specimen was obtained. Examples include but - are not limited to right internal jugular, left arm, and right eye. - binding: - strength: extensible - valueSet: http://hl7.org/fhir/ValueSet/body-site - - id: Specimen.condition - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Specimen.condition - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: Specimen condition acceptability" - comment: Information regarding a specimen, including the container, that does - not meet a laboratory's criteria for acceptability. Examples include but are - not limited to hemolyzed, clotted, container leaking, and missing patient name. - This may include information about the contents of the container, the container, - and the label. - binding: - strength: extensible - valueSet: http://terminology.hl7.org/ValueSet/v2-0493 diff --git a/input/resources-yaml-copy/StructureDefinition-us-core-treatment-intervention-preference.yml b/input/resources-yaml-copy/StructureDefinition-us-core-treatment-intervention-preference.yml deleted file mode 100644 index c6d42a64..00000000 --- a/input/resources-yaml-copy/StructureDefinition-us-core-treatment-intervention-preference.yml +++ /dev/null @@ -1,70 +0,0 @@ -resourceType: StructureDefinition -id: us-core-treatment-intervention-preference -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference -version: 3.2.0 -name: USCoreTreatmentInterventionPreferenceProfile -title: US Core Treatment Intervention Preference Profile -status: active -experimental: false -date: 2023-10-20 -description: To promote interoperability and adoption through common implementation, - this profile sets minimum expectations for the Observation resource to record, search, - and fetch for a patient's treatment intervention preferences. It is based on the - US Core Simple Profile and identifies which *additional* core elements, extensions, - vocabularies, and value sets **SHALL** be present and constrains the way the elements - are used when using the profile. It provides the floor for standards development - for specific use cases. -copyright: Used by permission of HL7 International, all rights reserved Creative Commons - License -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Observation -baseDefinition: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation -derivation: constraint -differential: - element: - - id: Observation - path: Observation - short: US Core Treatment Intervention Preference Profile - definition: \- - comment: \- - - id: Observation.category:us-core - path: Observation.category - sliceName: us-core - min: 0 - max: '1' - patternCodeableConcept: - coding: - - system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category - code: treatment-intervention-preference - mustSupport: true - - id: Observation.code - path: Observation.code - short: Treatment intervention preferences code - type: - - code: CodeableConcept - patternCodeableConcept: - coding: - - system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category - code: treatment-intervention-preference - mustSupport: true - - id: Observation.derivedFrom - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.derivedFrom - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: US Core Profiles or other - resource the observation is made from" - definition: US Core Observations, DocumentReference, QuestionnaireResponse or - other resource from which this observation value is derived. - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference - - http://hl7.org/fhir/StructureDefinition/Observation - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse - - http://hl7.org/fhir/StructureDefinition/ImagingStudy - - http://hl7.org/fhir/StructureDefinition/Media - - http://hl7.org/fhir/StructureDefinition/MolecularSequence diff --git a/input/resources-yaml-copy/StructureDefinition-uscore-medicationstatement.yml b/input/resources-yaml-copy/StructureDefinition-uscore-medicationstatement.yml deleted file mode 100644 index 31c8c514..00000000 --- a/input/resources-yaml-copy/StructureDefinition-uscore-medicationstatement.yml +++ /dev/null @@ -1,160 +0,0 @@ -resourceType: StructureDefinition -id: us-core-medicationstatement -url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationstatement -name: USCoreMedicationStatement -title: US Core MedicationStatement -status: active -experimental: false -date: 2023-10-12 -description: 'Profile of MedicationStatement to support medication adherence - record - of a statement of whether a medication has been consumed according to instructions. - - This profile sets minimum expectations for the MedicationStatement resource to record, - search, and fetch a record of a statement of whether a medication has been consumed - according to instructions. It identifies which core elements, extensions, vocabularies, - and value sets **SHALL** be present in the resource and constrains the way the elements - are used when using this profile. It provides the floor for standards development - for specific use cases to promote interoperability and adoption through common implementation.' -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: MedicationStatement -baseDefinition: http://hl7.org/fhir/StructureDefinition/MedicationStatement -derivation: constraint -differential: - element: - - id: MedicationStatement - path: MedicationStatement - mustSupport: false - - id: MedicationStatement.extension:med-adherence - path: MedicationStatement.extension - sliceName: med-adherence - short: Indicates whether the medication is or is not being consumed or administered - definition: The FHIR R5 `Medication.adherence` extension to record medication - adherence - min: 0 - max: '1' - type: - - code: Extension - profile: - - http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationUsage.adherence - mustSupport: false - - id: MedicationStatement.basedOn - path: MedicationStatement.basedOn - short: plan, proposal or order this is fulfilling - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest - _targetProfile: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - mustSupport: true - - id: MedicationStatement.status - path: MedicationStatement.status - mustSupport: true - binding: - strength: required - valueSet: http://www.fhir.org/guides/uscdi4-sandbox/ValueSet/uscore-medicationstatement-status - - id: MedicationStatement.medication[x] - path: MedicationStatement.medication[x] - short: Medication taken - type: - - code: CodeableConcept - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication - mustSupport: true - binding: - strength: extensible - valueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4 - - id: MedicationStatement.subject - path: MedicationStatement.subject - short: Who is/was taking the medication - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - mustSupport: true - - id: MedicationStatement.effective[x] - path: MedicationStatement.effective[x] - mustSupport: true - - id: MedicationStatement.dateAsserted - path: MedicationStatement.dateAsserted - short: When the statement was asserted - mustSupport: true - - id: MedicationStatement.informationSource - path: MedicationStatement.informationSource - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson - _targetProfile: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - mustSupport: true - - id: MedicationStatement.reasonCode - path: MedicationStatement.reasonCode - binding: - strength: extensible - valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code - - id: MedicationStatement.reasonReference - path: MedicationStatement.reasonReference - - id: MedicationStatement.dosage - path: MedicationStatement.dosage - short: How the medication should be taken - mustSupport: true - - id: MedicationStatement.dosage.text - path: MedicationStatement.dosage.text - short: Free text dosage instructions e.g. SIG - mustSupport: true - - id: MedicationStatement.dosage.timing - path: MedicationStatement.dosage.timing - short: When medication should be administered - mustSupport: true - - id: MedicationStatement.dosage.doseAndRate - path: MedicationStatement.dosage.doseAndRate - short: Amount of medication administered - mustSupport: true - - id: MedicationStatement.dosage.doseAndRate.dose[x] - path: MedicationStatement.dosage.doseAndRate.dose[x] - short: Amount of medication per dose - type: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: Quantity - - code: Range - mustSupport: true - binding: - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet - valueCanonical: http://hl7.org/fhir/ValueSet/ucum-units - strength: preferred - valueSet: http://hl7.org/fhir/ValueSet/ucum-common diff --git a/input/resources-yaml-old/StructureDefinition-us-core-average-blood-pressure.yml b/input/resources-yaml-old/StructureDefinition-us-core-average-blood-pressure.yml deleted file mode 100644 index 5f1a3fe4..00000000 --- a/input/resources-yaml-old/StructureDefinition-us-core-average-blood-pressure.yml +++ /dev/null @@ -1,236 +0,0 @@ -resourceType: StructureDefinition -id: us-core-average-blood-pressure -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-average-blood-pressure -# url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-average-blood-pressure -name: USCoreAverageBloodPressureProfile -title: US Core Average Blood Pressure Profile -status: active -experimental: false -date: 2023-08-02 -description: >- - To promote interoperability and adoption through common implementation, - this profile sets minimum expectations for the Observation resource to record, search, - and fetch average diastolic and systolic blood pressure observations with standard LOINC - codes and UCUM units of measure. It is based on the US Core Vital Signs Profile - and identifies which *additional* core elements, extensions, vocabularies, and value sets - **SHALL** be present and constrains the way the elements are used when using the profile. - It provides the floor for standards development for specific use cases. - - -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Observation -baseDefinition: http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs -derivation: constraint -differential: - element: - - id: Observation - path: Observation - short: US Core Average Blood Pressure Profile - definition: \- - comment: \- - - id: Observation.code - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.code - short: (USCDI) Average Blood Pressure - type: - - code: CodeableConcept - patternCodeableConcept: - coding: - - system: http://loinc.org - code: 96607-7 - mustSupport: true - - - - id: Observation.effective[x] - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.effective[x] - short: (USCDI) clinically relevant time-period for the average of blood pressure (BP) readings - type: - - - code: dateTime - - code: Period - extension: - - url: >- - http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - - mustSupport: true - - - - id: Observation.component - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.component - slicing: - discriminator: - - type: pattern - path: code - ordered: false - rules: open - short: (USCDI) Component observations - min: 2 - max: '*' - mustSupport: true - - id: Observation.component:systolic - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.component - sliceName: systolic - short: (USCDI) Average Systolic Blood Pressure - min: 1 - max: '1' - mustSupport: true - - id: Observation.component:systolic.code - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.component.code - short: (USCDI) Average Systolic Blood Pressure Code - min: 1 - max: '1' - patternCodeableConcept: - coding: - - system: http://loinc.org - code: 96608-5 - mustSupport: true - - id: Observation.component:systolic.valueQuantity - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.component.valueQuantity - short: (USCDI) Vital Sign Component Value - type: - - code: Quantity - mustSupport: true - - id: Observation.component:systolic.valueQuantity.value - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.component.valueQuantity.value - short: (USCDI) Numerical value (with implicit precision) - min: 1 - max: '1' - type: - - code: decimal - mustSupport: true - - id: Observation.component:systolic.valueQuantity.unit - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.component.valueQuantity.unit - short: (USCDI) Unit representation - min: 1 - max: '1' - type: - - code: string - mustSupport: true - - id: Observation.component:systolic.valueQuantity.system - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.component.valueQuantity.system - short: (USCDI) System that defines coded unit form - min: 1 - max: '1' - type: - - code: uri - fixedUri: http://unitsofmeasure.org - mustSupport: true - - id: Observation.component:systolic.valueQuantity.code - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.component.valueQuantity.code - short: (USCDI) Coded form of the unit - min: 1 - max: '1' - type: - - code: code - fixedCode: mm[Hg] - mustSupport: true - - id: Observation.component:diastolic - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.component - sliceName: diastolic - short: (USCDI) Average Diastolic Blood Pressure - min: 1 - max: '1' - mustSupport: true - - id: Observation.component:diastolic.code - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.component.code - short: (USCDI) Average Diastolic Blood Pressure Code - min: 1 - max: '1' - patternCodeableConcept: - coding: - - system: http://loinc.org - code: 96609-3 - mustSupport: true - - id: Observation.component:diastolic.valueQuantity - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.component.valueQuantity - short: (USCDI) Vital Sign Component Value - type: - - code: Quantity - mustSupport: true - - id: Observation.component:diastolic.valueQuantity.value - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.component.valueQuantity.value - short: (USCDI) Numerical value (with implicit precision) - min: 1 - max: '1' - type: - - code: decimal - mustSupport: true - - id: Observation.component:diastolic.valueQuantity.unit - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.component.valueQuantity.unit - short: (USCDI) Unit representation - min: 1 - max: '1' - type: - - code: string - mustSupport: true - - id: Observation.component:diastolic.valueQuantity.system - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.component.valueQuantity.system - short: (USCDI) System that defines coded unit form - min: 1 - max: '1' - type: - - code: uri - fixedUri: http://unitsofmeasure.org - mustSupport: true - - id: Observation.component:diastolic.valueQuantity.code - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.component.valueQuantity.code - short: (USCDI) Coded form of the unit - min: 1 - max: '1' - type: - - code: code - fixedCode: mm[Hg] - mustSupport: true diff --git a/input/resources-yaml-old/StructureDefinition-us-core-care-experience-preference.yml b/input/resources-yaml-old/StructureDefinition-us-core-care-experience-preference.yml deleted file mode 100644 index d9e8cd9c..00000000 --- a/input/resources-yaml-old/StructureDefinition-us-core-care-experience-preference.yml +++ /dev/null @@ -1,100 +0,0 @@ -resourceType: StructureDefinition -id: us-core-care-experience-preference -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference -# url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-care-experience-preference -name: USCoreCareExperiencePreferenceProfile -title: US Core Care Experience Preference Profile -status: active -experimental: false -date: 2023-10-02 -description: >- - To promote interoperability and adoption through common implementation, this - profile sets minimum expectations for the Observation resource to record, - search, and fetch for a patient's care experience preferences. It is based on - the US Core Simple Profile and identifies which *additional* core elements, - extensions, vocabularies, and value sets **SHALL** be present and constrains - the way the elements are used when using the profile. It provides the floor - for standards development for specific use cases. -copyright: Used by permission of HL7 International, all rights reserved Creative Commons - License -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Observation -baseDefinition: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation -derivation: constraint -differential: - element: - - id: Observation - path: Observation - short: US Core Care Experience Preference Profile - definition: \- - comment: \- - - - - id: Observation.category:us-core - path: Observation.category - sliceName: us-core - min: 0 - max: '1' - patternCodeableConcept: - coding: - - system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category # get a LOINC code for this see stu note - code: care-experience-preference - mustSupport: true - - - id: Observation.code - # extension: - # - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - # valueBoolean: true - path: Observation.code - short: Care experience preferences code - type: - - code: CodeableConcept - patternCodeableConcept: - coding: - - system: http://loinc.org - code: 95541-9 - mustSupport: true - # binding: - # strength: extensible - # valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.11' - # # valueSet: >- # only "95541-9 Care experience preference" from the Pacio ValueSet" - # # http://www.fhir.org/guides/uscdi4-sandbox/ValueSet/uscore-care-experience-preference - - - id: Observation.derivedFrom - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.derivedFrom - short: (ADD'L USCDI) US Core Profiles or other resource the observation - is made from - definition: US Core Observations, DocumentReference, QuestionnaireResponse or other resource from which this observation value is derived. - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference - - http://hl7.org/fhir/StructureDefinition/Observation - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse - - http://hl7.org/fhir/StructureDefinition/ImagingStudy - - http://hl7.org/fhir/StructureDefinition/Media - - http://hl7.org/fhir/StructureDefinition/MolecularSequence - # _targetProfile: - # - extension: - # - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - # valueBoolean: true - # - extension: - # - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - # valueBoolean: false - # - extension: - # - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - # valueBoolean: false - # - extension: - # - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - # valueBoolean: false - # - extension: - # - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - # valueBoolean: false - # - extension: - # - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - # valueBoolean: false diff --git a/input/resources-yaml-old/StructureDefinition-us-core-location.yml b/input/resources-yaml-old/StructureDefinition-us-core-location.yml deleted file mode 100644 index 1a89d1d4..00000000 --- a/input/resources-yaml-old/StructureDefinition-us-core-location.yml +++ /dev/null @@ -1,116 +0,0 @@ -resourceType: StructureDefinition -id: us-core-location -url: 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-location' -name: USCoreLocation -title: US Core Location Profile -status: active -experimental: false -date: '2022-04-20' -description: >- - This profile sets minimum expectations for the Location resource for - recording, searching, and fetching a "physical place of available services or - resources." It identifies which core elements, extensions, vocabularies, and - value sets **SHALL** be present and constrains how the elements are used when - using the profile. It provides the floor for standards development for - specific use cases to promote interoperability and adoption through common - implementation. -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Location -baseDefinition: 'http://hl7.org/fhir/StructureDefinition/Location' -derivation: constraint -differential: - element: - - id: Location - path: Location - definition: '\-' - comment: '\-' - mustSupport: false - mapping: - - identity: servd - map: Organization - - - id: Location.identifier - extension: - - url: 'http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement' - valueBoolean: true - path: Location.identifier - short: (USCDI Requirement) Unique business identifier for facility or location. - mustSupport: true - - - id: Location.status - path: Location.status - mustSupport: true - - - id: Location.name - extension: - - url: 'http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement' - valueBoolean: true - path: Location.name - short: (USCDI Requirement) Name by which a facility or location is known. - min: 1 - mustSupport: true - mapping: - - identity: servd - map: ./PrimaryAddress and ./OtherAddresses - - - id: Location.type - extension: - - url: 'http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement' - valueBoolean: true - path: Location.type - short: >- - (USCDI Requirement) Category of service or resource available in a - location. - mustSupport: true - binding: - strength: extensible - valueSet: 'http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType' - - - id: Location.telecom - path: Location.telecom - mustSupport: true - - id: Location.address - path: Location.address - mustSupport: true - mapping: - - identity: servd - map: n/a - - id: Location.address.line - path: Location.address.line - max: '*' - type: - - code: string - mustSupport: true - - id: Location.address.city - path: Location.address.city - type: - - code: string - mustSupport: true - - id: Location.address.state - path: Location.address.state - type: - - code: string - mustSupport: true - binding: - strength: extensible - description: Two letter USPS alphabetic codes. - valueSet: 'http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state' - mapping: - - identity: servd - map: ./Sites - - id: Location.address.postalCode - path: Location.address.postalCode - short: US Zip Codes - type: - - code: string - mustSupport: true - - id: Location.managingOrganization - path: Location.managingOrganization - type: - - code: Reference - targetProfile: - - >- - http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization - mustSupport: true diff --git a/input/resources-yaml-old/StructureDefinition-us-core-observation-lab.yml b/input/resources-yaml-old/StructureDefinition-us-core-observation-lab.yml deleted file mode 100644 index 279f3a03..00000000 --- a/input/resources-yaml-old/StructureDefinition-us-core-observation-lab.yml +++ /dev/null @@ -1,147 +0,0 @@ -resourceType: StructureDefinition -id: us-core-observation-lab -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab -name: USCoreLaboratoryResultObservationProfile -title: US Core Laboratory Result Observation Profile -status: active -experimental: false -date: 2022-11-19 -description: "The US Core Laboratory Result Observation Profile is based upon the - US Core Observation Clinical Result Profile and, along with the US Core DiagnosticReport - Profile for Laboratory Results Reporting, meets the U.S. Core Data for Interoperability - (USCDI) Laboratory requirements. Laboratory results are grouped and summarized using - the DiagnosticReport resource, which references Observation resources. Each Observation - resource represents an individual laboratory test and result value, a \u201Cnested\u201D - panel (such as a microbial susceptibility panel) that references other observations, - or rarely a laboratory test with component result values. The US Core Laboratory - Result Observation Profile sets minimum expectations for the Observation resource - to record, search, and fetch laboratory test results associated with a patient to - promote interoperability and adoption through common implementation. It identifies - which core elements, extensions, vocabularies, and value sets SHALL be present in - the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development - for specific use cases." -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Observation -baseDefinition: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result -derivation: constraint -differential: - element: - - id: Observation.category:us-core - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.category - sliceName: us-core - short: (USCDI) Classification of type of observation - min: 1 - max: '1' - patternCodeableConcept: - coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: laboratory - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Observation.category - - id: Observation.code - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.code - short: (USCDI) Laboratory Test Name - mustSupport: true - binding: - strength: extensible - description: Laboratory LOINC Codes - valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-laboratory-test-codes - mapping: - - identity: argonaut-dq-dstu2 - map: Observation.code - - id: Observation.value[x] - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.value[x] - short: (USCDI) Result Value - definition: The Laboratory result value. If a coded value, the valueCodeableConcept.code - **SHOULD** be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults) - if the concept exists. If a numeric value, valueQuantity.code **SHALL** be selected - from [UCUM](http://unitsofmeasure.org). A FHIR [UCUM Codes value set](http://hl7.org/fhir/STU3/valueset-ucum-units.html) - that defines all UCUM codes is in the FHIR specification. - type: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: Quantity - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: CodeableConcept - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: string - - code: boolean - - code: integer - - code: Range - - code: Ratio - - code: SampledData - - code: time - - code: dateTime - - code: Period - condition: - - us-core-4 - constraint: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice - valueBoolean: true - key: us-core-4 - severity: warning - human: SHOULD use Snomed CT for coded Results - expression: ofType(CodeableConcept).coding.system.empty() or (ofType(CodeableConcept).coding.system contains 'http://snomed.info/sct') - xpath: not(exists(f:valueCodeableConcept/f:coding/f:system) ) or f:valueCodeableConcept/f:coding/f:system[@value='http://snomed.info/sct'] - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Observation.value[x] - -# =======New USCDI4 requirements =========== - - id: Observation.interpretation - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.interpretation - short: (USCDI) Result interpretation - comment: Categorical assessment of a laboratory value, often in relation to a test's reference range. Examples include but are not limited to high, low, critical, and normal. - binding: - strength: extensible - description: Observation Interpretation Codes - valueSet: http://hl7.org/fhir/ValueSet/observation-interpretation - mustSupport: true -# =======New USCDI4 requirements =========== - - - id: Observation.specimen - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.specimen - short: (USCDI) Specimen used for this observation - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen - mustSupport: true - -# =======New USCDI4 requirements =========== - - id: Observation.referenceRange - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.referenceRange - short: (USCDI) Result reference range - comment: Upper and lower limit of test values expected for a designated population of individuals. Reference range values may differ by patient characteristics, laboratory test manufacturer and laboratory test performer. - mustSupport: true -# =======New USCDI4 requirements =========== - diff --git a/input/resources-yaml-old/StructureDefinition-us-core-patient.yml b/input/resources-yaml-old/StructureDefinition-us-core-patient.yml deleted file mode 100644 index f778bace..00000000 --- a/input/resources-yaml-old/StructureDefinition-us-core-patient.yml +++ /dev/null @@ -1,414 +0,0 @@ -resourceType: StructureDefinition -id: us-core-patient -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient -name: USCorePatientProfile -title: US Core Patient Profile -status: active -experimental: false -date: 2022-09-30 -description: The US Core Patient Profile meets the U.S. Core Data for Interoperability - (USCDI) v3 'Patient Demographics' requirements. This profile sets minimum expectations - for the Patient resource to record, search, and fetch basic demographics and other - administrative information about an individual patient. It identifies which core - elements, extensions, vocabularies, and value sets **SHALL** be present in the resource - when using this profile to promote interoperability and adoption through common - implementation. It identifies which core elements, extensions, vocabularies, and - value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It provides - the floor for standards development for specific use cases. -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Patient -baseDefinition: http://hl7.org/fhir/StructureDefinition/Patient -derivation: constraint -differential: - element: - - id: Patient - path: Patient - definition: \- - comment: \- - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: Patient - - id: Patient.extension:race - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.extension - sliceName: race - short: (USCDI) US Core Race Extension - min: 0 - max: '1' - type: - - code: Extension - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-race - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.extension - - id: Patient.extension:ethnicity - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.extension - sliceName: ethnicity - short: (USCDI) US Core ethnicity Extension - min: 0 - max: '1' - type: - - code: Extension - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.extension - - id: Patient.extension:tribalAffiliation - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.extension - sliceName: tribalAffiliation - short: (USCDI) Tribal Affiliation Extension - min: 0 - max: '*' - type: - - code: Extension - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-tribal-affiliation - mustSupport: false - - - id: Patient.extension:birthsex - # extension: - # - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - # valueBoolean: true - path: Patient.extension - sliceName: birthsex - short: Birth Sex Extension - min: 0 - max: '1' - type: - - code: Extension - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.extension - - - - id: Patient.extension:sex - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.extension - sliceName: sex - short: (USCDI) Sex Extension - min: 0 - max: '1' - type: - - code: Extension - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-sex - mustSupport: false - - - - id: Patient.extension:genderIdentity - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.extension - sliceName: genderIdentity - short: (USCDI) The individual's gender identity - min: 0 - max: '*' - type: - - code: Extension - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-genderIdentity - mustSupport: false - - id: Patient.identifier - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.identifier - short: (USCDI) An identifier for this patient - min: 1 - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.identifier - - id: Patient.identifier.system - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.identifier.system - short: (USCDI) The namespace for the identifier value - min: 1 - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.identifier.system - - id: Patient.identifier.value - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.identifier.value - short: (USCDI) The value that is unique within the system. - min: 1 - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.identifier.value - - id: Patient.name - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.name - short: (USCDI) A name associated with the patient - min: 1 - constraint: - - key: us-core-6 - severity: error - human: At least name.given and/or name.family are present or, if neither is - available, the Data Absent Reason Extension is present. - expression: (family.exists() or given.exists()) xor extension.where(url='http://hl7.org/fhir/StructureDefinition/data-absent-reason').exists() - xpath: (/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason' - and not(/f:family or /f:given)) or (not(/f:extension/@url='http://hl7.org/fhir/StructureDefinition/data-absent-reason') - and (/f:family or /f:given)) - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.name - - id: Patient.name.use - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.name.use - short: (USCDI) usual | official | temp | nickname | anonymous | old | maiden - - id: Patient.name.family - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.name.family - short: (USCDI) Family name (often called 'Surname') - condition: - - us-core-6 - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.name.family - - id: Patient.name.given - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.name.given - short: (USCDI) Given names (not always 'first'). Includes middle names - condition: - - us-core-6 - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.name.given - - id: Patient.name.suffix - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.name.suffix - short: (USCDI) Parts that come after the name - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.name.period - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.name.period - short: (USCDI) Time period when name was/is in use - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.telecom - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.telecom - short: (USCDI) A contact detail for the individual - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.telecom.system - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.telecom.system - short: (USCDI) phone | fax | email | pager | url | sms | other - min: 1 - mustSupport: true - binding: - strength: required - description: Telecommunications form for contact point. - valueSet: http://hl7.org/fhir/ValueSet/contact-point-system - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.telecom.value - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.telecom.value - short: (USCDI) The actual contact point details - min: 1 - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.telecom.use - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.telecom.use - short: (USCDI) home | work | temp | old | mobile - purpose of this - contact point - mustSupport: true - binding: - strength: required - valueSet: http://hl7.org/fhir/ValueSet/contact-point-use - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.gender - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.gender - short: (USCDI) male | female | other | unknown - min: 1 - type: - - code: code - mustSupport: true - binding: - strength: required - valueSet: http://hl7.org/fhir/ValueSet/administrative-gender - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.gender - - id: Patient.birthDate - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.birthDate - short: (USCDI) The date of birth for the individual - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.birthDate - - id: Patient.deceased[x] - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.deceased[x] - short: (USCDI) Indicates if the individual is deceased or not - - id: Patient.address - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.address - short: (USCDI) An address for the individual - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.birthDate - - id: Patient.address.use - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.address.use - short: (USCDI) home | work | temp | old | billing - purpose of this - address - - id: Patient.address.line - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.address.line - short: (USCDI) Street name, number, direction & P.O. Box etc. - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.address.city - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.address.city - short: (USCDI) Name of city, town etc. - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.address.state - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.address.state - short: (USCDI) Sub-unit of country (abbreviations ok) - mustSupport: true - binding: - strength: extensible - description: Two Letter USPS alphabetic codes. - valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.address.postalCode - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.address.postalCode - short: (USCDI) US Zip Codes - alias: - - Zip Code - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.address.period - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.address.period - short: (USCDI) Time period when address was/is in use - # mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: Patient.communication - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.communication - short: (USCDI) A language which may be used to communicate with the - patient about his or her health - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.communication - - id: Patient.communication.language - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Patient.communication.language - short: (USCDI) The language which can be used to communicate with - the patient about his or her health - mustSupport: true - binding: - strength: extensible - valueSet: http://hl7.org/fhir/us/core/ValueSet/simple-language - mapping: - - identity: argonaut-dq-dstu2 - map: Patient.communication.language diff --git a/input/resources-yaml-old/StructureDefinition-us-core-procedure.yml b/input/resources-yaml-old/StructureDefinition-us-core-procedure.yml deleted file mode 100644 index e789fb59..00000000 --- a/input/resources-yaml-old/StructureDefinition-us-core-procedure.yml +++ /dev/null @@ -1,132 +0,0 @@ -resourceType: StructureDefinition -id: us-core-procedure -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure -name: USCoreProcedureProfile -title: US Core Procedure Profile -status: active -experimental: false -date: 2022-04-20 -publisher: HL7 US Realm Steering Committee -description: The US Core Procedure Profile is based upon the core FHIR Procedure Resource - and meets the U.S. Core Data for Interoperability (USCDI) v2 'Procedures' requirements. - This profile sets minimum expectations for the Procedure resource to record, search, - and fetch procedures associated with a patient to promote interoperability and adoption - through common implementation. It identifies which core elements, extensions, vocabularies, - and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It - provides the floor for standards development for specific use cases. -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Procedure -baseDefinition: http://hl7.org/fhir/StructureDefinition/Procedure -derivation: constraint -differential: - element: - - id: Procedure - path: Procedure - definition: \- - comment: \- - constraint: - - key: us-core-7 - severity: error - human: Performed SHALL be present if the status is 'completed' or 'in-progress' - expression: (status='completed' or status='in-progress') implies performed.exists() - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: Procedure - - id: Procedure.basedOn - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Procedure.basedOn - short: (USCDI) A request for this procedure - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest - mustSupport: false - - id: Procedure.status - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Procedure.status - short: (USCDI) preparation | in-progress | not-done | on-hold | stopped - | completed | entered-in-error | unknown - condition: - - us-core-7 - mustSupport: true - binding: - strength: required - valueSet: http://hl7.org/fhir/ValueSet/event-status - mapping: - - identity: argonaut-dq-dstu2 - map: Procedure.status - - id: Procedure.code - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Procedure.code - short: (USCDI) Identification of the procedure - min: 1 - mustSupport: true - binding: - strength: extensible - description: Codes describing the type of Procedure - valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code - mapping: - - identity: argonaut-dq-dstu2 - map: Procedure.code - - - id: Procedure.subject - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Procedure.subject - short: (USCDI) Who the procedure was performed on - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Procedure.subject - - - id: Procedure.encounter - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Procedure.encounter - short: (USCDI) Encounter associated with the procedure - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter - mustSupport: true - # mapping: - # - identity: argonaut-dq-dstu2 - # map: Procedure.encounter - - - id: Procedure.performed[x] - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Procedure.performed[x] - short: (USCDI) When the procedure was performed - type: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: dateTime - - code: Period - - code: string - - code: Age - - code: Range - condition: - - us-core-7 - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Procedure.performed[x] diff --git a/input/resources-yaml-old/StructureDefinition-us-core-specimen.yml b/input/resources-yaml-old/StructureDefinition-us-core-specimen.yml deleted file mode 100644 index 722b7b88..00000000 --- a/input/resources-yaml-old/StructureDefinition-us-core-specimen.yml +++ /dev/null @@ -1,96 +0,0 @@ -resourceType: StructureDefinition -id: us-core-specimen -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen -name: USCoreSpecimenProfile -title: US Core Specimen Profile -status: active -experimental: false -date: 2022-09-27 -description: This profile sets minimum expectations for the Specimen resource to record, - search, and fetch "substances being sampled or tested. (e.g., nasopharyngeal swab, - whole blood, serum, urine, wound swab)" associated with a patient to promote interoperability - and adoption through common implementation. It identifies which core elements, - extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when - using this profile. It provides the floor for standards development for specific - use cases. -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Specimen -baseDefinition: http://hl7.org/fhir/StructureDefinition/Specimen -derivation: constraint -differential: - element: - - id: Specimen - path: Specimen - definition: \- - comment: \- - mustSupport: false - -# === New USCDI requirement === - - id: Specimen.identifier - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Specimen.identifier - short: (USCDI) Specimen identifier - mustSupport: true -# === New USCDI requirement === - - - id: Specimen.type - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Specimen.type - short: (USCDI) Kind of material that forms the - specimen - min: 1 - mustSupport: true - binding: - strength: extensible - valueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.54 - - - id: Specimen.subject - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Specimen.subject - short: (USCDI) The patient where the specimen came from. - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - mustSupport: true - -# === New USCDI requirement === - - id: Specimen.collection - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Specimen.collection - short: (USCDI) Collection details - # mustSupport: true - - id: Specimen.collection.bodySite - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Specimen.collection.bodySite - short: (USCDI) Specimen Source Site - comment: Body location from where a specimen was obtained. Examples include but are not limited to right internal jugular, left arm, and right eye. - binding: - strength: extensible - valueSet: http://hl7.org/fhir/ValueSet/body-site - # mustSupport: true - -# === New USCDI requirement === - - id: Specimen.condition - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Specimen.condition - short: (USCDI) Specimen condition acceptability - comment: Information regarding a specimen, including the container, that does not meet a laboratory's criteria for acceptability. Examples include but are not limited to hemolyzed, clotted, container leaking, and missing patient name. This may include information about the contents of the container, the container, and the label. - binding: - strength: extensible - valueSet: http://terminology.hl7.org/ValueSet/v2-0493 - # mustSupport: true diff --git a/input/resources-yaml-old/StructureDefinition-us-core-treatment-intervention-preference.yml b/input/resources-yaml-old/StructureDefinition-us-core-treatment-intervention-preference.yml deleted file mode 100644 index 9d4d26f2..00000000 --- a/input/resources-yaml-old/StructureDefinition-us-core-treatment-intervention-preference.yml +++ /dev/null @@ -1,107 +0,0 @@ -resourceType: StructureDefinition -id: us-core-treatment-intervention-preference -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference -# url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-treatment-intervention-preference -version: 3.2.0 -name: USCoreTreatmentInterventionPreferenceProfile -title: US Core Treatment Intervention Preference Profile -status: active -experimental: false -date: 2023-10-02 -description: >- - To promote interoperability and adoption through common implementation, - this profile sets minimum expectations for the Observation resource to record, search, - and fetch for a patient's treatment intervention preferences. It is based on - the US Core Simple Profile and identifies which *additional* core elements, - extensions, vocabularies, and value sets **SHALL** be present and constrains the - way the elements are used when using the profile. It provides the - floor for standards development for specific use cases. - -copyright: Used by permission of HL7 International, all rights reserved Creative Commons - License -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Observation -baseDefinition: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation -derivation: constraint -differential: - - element: - - id: Observation - path: Observation - short: US Core Treatment Intervention Preference Profile - definition: \- - comment: \- - - - - - id: Observation.category:us-core - path: Observation.category - sliceName: us-core - min: 0 - max: '1' - patternCodeableConcept: - coding: - - system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category # get a LOINC code for this see stu note - code: treatment-intervention-preference - mustSupport: true - - - - id: Observation.code - # extension: - # - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - # valueBoolean: true - path: Observation.code - short: Treatment intervention preferences code - type: - - code: CodeableConcept - patternCodeableConcept: - coding: - - system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category # get a LOINC code for this see stu note - code: treatment-intervention-preference - mustSupport: true - # binding: - # strength: extensible - # # valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1115.11' - # valueSet: >- # only "intervention-preference" from the PACIO ValueSet - # http://www.fhir.org/guides/uscdi4-sandbox/ValueSet/uscore-treatment-intervention-preference - - - - id: Observation.derivedFrom - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.derivedFrom - short: (ADD'L USCDI) US Core Profiles or other resource the observation is made from - definition: US Core Observations, DocumentReference, QuestionnaireResponse or other resource from which this observation value is derived. - type: - - code: Reference - targetProfile: - - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference - - http://hl7.org/fhir/StructureDefinition/Observation - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse - - http://hl7.org/fhir/StructureDefinition/ImagingStudy - - http://hl7.org/fhir/StructureDefinition/Media - - http://hl7.org/fhir/StructureDefinition/MolecularSequence - # _targetProfile: - # - extension: - # - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - # valueBoolean: true - # - extension: - # - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - # valueBoolean: false - # - extension: - # - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - # valueBoolean: false - # - extension: - # - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - # valueBoolean: false - # - extension: - # - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - # valueBoolean: false - # - extension: - # - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - # valueBoolean: false - # mustSupport: true \ No newline at end of file diff --git a/input/resources-yaml/CodeSystem-uscore-treatment-intervention-preference.yml b/input/resources-yaml/CodeSystem-uscore-treatment-intervention-preference.yml deleted file mode 100644 index f0ffe252..00000000 --- a/input/resources-yaml/CodeSystem-uscore-treatment-intervention-preference.yml +++ /dev/null @@ -1,20 +0,0 @@ -resourceType: CodeSystem -id: uscore-treatment-intervention-preference -url: http://hl7.org/fhir/us/core/CodeSystem/uscore-treatment-intervention-preference -# url: 'http://www.fhir.org/guides/uscdi4-sandbox/CodeSystem/uscore-treatment-intervention-preference' -name: USCoreTreatmentInterventionPreferenceCodeSystem -title: US Core Treatment Intervention Preference CodeSystem -status: active -experimental: false -date: 2023-10-02 -description: A code representing an individual's medical intervention (treatment) preferences. -copyright: Used by permission of HL7 International, all rights reserved Creative Commons - License -caseSensitive: true -content: complete -concept: - - - code: intervention-preference - display: Intervention Preference - definition: >- - A personal preference for a type of medical intervention (treatment) request under certain conditions. \ No newline at end of file diff --git a/input/resources-yaml/StructureDefinition-us-core-average-blood-pressure.yml b/input/resources-yaml/StructureDefinition-us-core-average-blood-pressure.yml index c1762065..e01d799d 100644 --- a/input/resources-yaml/StructureDefinition-us-core-average-blood-pressure.yml +++ b/input/resources-yaml/StructureDefinition-us-core-average-blood-pressure.yml @@ -5,7 +5,7 @@ name: USCoreAverageBloodPressureProfile title: US Core Average Blood Pressure Profile status: active experimental: false -date: 2023-10-20 +date: 2023-10-17 description: To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch average diastolic and systolic blood pressure observations with standard @@ -17,7 +17,7 @@ fhirVersion: 4.0.1 kind: resource abstract: false type: Observation -baseDefinition: http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs +baseDefinition: http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure derivation: constraint differential: element: @@ -26,16 +26,41 @@ differential: short: US Core Average Blood Pressure Profile definition: \- comment: \- + + + - id: Observation.code path: Observation.code short: Average Blood Pressure + comment: >- + The code (96607-7 Blood pressure panel mean systolic and mean diastolic) + is added as a translation to the US Core vital Blood Pressure code + (85354-9 Blood Blood pressure panel with all children optional). + mustSupport: true + + - id: Observation.code.coding + path: Observation.code.coding + slicing: + discriminator: + - type: pattern + path: $this + rules: open + min: 1 + mustSupport: true + + - id: Observation.code.coding:uscore-avg-bp + path: Observation.code.coding + sliceName: uscore-avg-bp + min: 1 + max: '1' type: - - code: CodeableConcept - patternCodeableConcept: - coding: - - system: http://loinc.org - code: 96607-7 + - code: Coding + patternCoding: + system: http://loinc.org + code: 96607-7 mustSupport: true + + - id: Observation.effective[x] path: Observation.effective[x] short: clinically relevant time-period for the average of blood pressure (BP) @@ -49,119 +74,80 @@ differential: mustSupport: true - id: Observation.component path: Observation.component - slicing: - discriminator: - - type: pattern - path: code - ordered: false - rules: open - short: Component observations - min: 2 - max: '*' - mustSupport: true + - id: Observation.component:systolic path: Observation.component sliceName: systolic short: Average Systolic Blood Pressure - min: 1 - max: '1' - mustSupport: true + - id: Observation.component:systolic.code path: Observation.component.code short: Average Systolic Blood Pressure Code + comment: >- + The code (96608-5 Systolic blood pressure mean) + is added as a translation to the US Core vital Blood Pressure component code + (8480-6 Systolic blood pressure). + + - id: Observation.component:systolic.code.coding + path: Observation.component.code.coding + slicing: + discriminator: + - type: pattern + path: $this + rules: open min: 1 - max: '1' - patternCodeableConcept: - coding: - - system: http://loinc.org - code: 96608-5 - mustSupport: true - - id: Observation.component:systolic.valueQuantity - path: Observation.component.valueQuantity - short: Vital Sign Component Value - type: - - code: Quantity - mustSupport: true - - id: Observation.component:systolic.valueQuantity.value - path: Observation.component.valueQuantity.value - min: 1 - max: '1' - type: - - code: decimal - mustSupport: true - - id: Observation.component:systolic.valueQuantity.unit - path: Observation.component.valueQuantity.unit - min: 1 - max: '1' - type: - - code: string - mustSupport: true - - id: Observation.component:systolic.valueQuantity.system - path: Observation.component.valueQuantity.system - min: 1 - max: '1' - type: - - code: uri - fixedUri: http://unitsofmeasure.org mustSupport: true - - id: Observation.component:systolic.valueQuantity.code - path: Observation.component.valueQuantity.code + + + - id: Observation.component:systolic.code.coding:uscore-avg-systolic-bp + path: Observation.component.code.coding + sliceName: uscore-avg-systolic-bp min: 1 max: '1' type: - - code: code - fixedCode: mm[Hg] - mustSupport: true + - code: Coding + patternCoding: + system: http://loinc.org + code: 96608-5 + mustSupport: true + + + - id: Observation.component:diastolic path: Observation.component sliceName: diastolic short: Average Diastolic Blood Pressure - min: 1 - max: '1' + mustSupport: true - id: Observation.component:diastolic.code path: Observation.component.code short: Average Diastolic Blood Pressure Code + comment: >- + The code (96609-3 Diastolic blood pressure mean) + is added as a translation to the US Core vital Blood Pressure component code + (8462-4 Diastolic blood pressure). + + - id: Observation.component:diastolic.code.coding + path: Observation.component.code.coding + slicing: + discriminator: + - type: pattern + path: $this + rules: open min: 1 - max: '1' - patternCodeableConcept: - coding: - - system: http://loinc.org - code: 96609-3 - mustSupport: true - - id: Observation.component:diastolic.valueQuantity - path: Observation.component.valueQuantity - short: Vital Sign Component Value - type: - - code: Quantity - mustSupport: true - - id: Observation.component:diastolic.valueQuantity.value - path: Observation.component.valueQuantity.value - min: 1 - max: '1' - type: - - code: decimal - mustSupport: true - - id: Observation.component:diastolic.valueQuantity.unit - path: Observation.component.valueQuantity.unit - min: 1 - max: '1' - type: - - code: string - mustSupport: true - - id: Observation.component:diastolic.valueQuantity.system - path: Observation.component.valueQuantity.system - min: 1 - max: '1' - type: - - code: uri - fixedUri: http://unitsofmeasure.org mustSupport: true - - id: Observation.component:diastolic.valueQuantity.code - path: Observation.component.valueQuantity.code + + + - id: Observation.component:diastolic.code.coding:uscore-avg-diastolic-bp + path: Observation.component.code.coding + sliceName: uscore-avg-diastolic-bp min: 1 max: '1' type: - - code: code - fixedCode: mm[Hg] + - code: Coding + patternCoding: + system: http://loinc.org + code: 96609-3 mustSupport: true + + \ No newline at end of file diff --git a/input/resources-yaml/StructureDefinition-us-core-care-experience-preference.yml b/input/resources-yaml/StructureDefinition-us-core-care-experience-preference.yml deleted file mode 100644 index 4eb87c57..00000000 --- a/input/resources-yaml/StructureDefinition-us-core-care-experience-preference.yml +++ /dev/null @@ -1,69 +0,0 @@ -resourceType: StructureDefinition -id: us-core-care-experience-preference -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference -name: USCoreCareExperiencePreferenceProfile -title: US Core Care Experience Preference Profile -status: active -experimental: false -date: 2023-10-20 -description: To promote interoperability and adoption through common implementation, - this profile sets minimum expectations for the Observation resource to record, search, - and fetch for a patient's care experience preferences. It is based on the US Core - Simple Profile and identifies which *additional* core elements, extensions, vocabularies, - and value sets **SHALL** be present and constrains the way the elements are used - when using the profile. It provides the floor for standards development for specific - use cases. -copyright: Used by permission of HL7 International, all rights reserved Creative Commons - License -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Observation -baseDefinition: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation -derivation: constraint -differential: - element: - - id: Observation - path: Observation - short: US Core Care Experience Preference Profile - definition: \- - comment: \- - - id: Observation.category:us-core - path: Observation.category - sliceName: us-core - min: 0 - max: '1' - patternCodeableConcept: - coding: - - system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category - code: care-experience-preference - mustSupport: true - - id: Observation.code - path: Observation.code - short: Care experience preferences code - type: - - code: CodeableConcept - patternCodeableConcept: - coding: - - system: http://loinc.org - code: 95541-9 - mustSupport: true - - id: Observation.derivedFrom - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.derivedFrom - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: US Core Profiles or other - resource the observation is made from" - definition: US Core Observations, DocumentReference, QuestionnaireResponse or - other resource from which this observation value is derived. - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference - - http://hl7.org/fhir/StructureDefinition/Observation - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse - - http://hl7.org/fhir/StructureDefinition/ImagingStudy - - http://hl7.org/fhir/StructureDefinition/Media - - http://hl7.org/fhir/StructureDefinition/MolecularSequence diff --git a/input/resources-yaml/StructureDefinition-us-core-location.yml b/input/resources-yaml/StructureDefinition-us-core-location.yml deleted file mode 100644 index a22dbd99..00000000 --- a/input/resources-yaml/StructureDefinition-us-core-location.yml +++ /dev/null @@ -1,97 +0,0 @@ -resourceType: StructureDefinition -id: us-core-location -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-location -name: USCoreLocation -title: US Core Location Profile -status: active -experimental: false -date: 2023-10-20 -description: This profile sets minimum expectations for the Location resource for - recording, searching, and fetching a "physical place of available services or resources." It - identifies which core elements, extensions, vocabularies, and value sets **SHALL** - be present and constrains how the elements are used when using the profile. It - provides the floor for standards development for specific use cases to promote interoperability - and adoption through common implementation. -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Location -baseDefinition: http://hl7.org/fhir/StructureDefinition/Location -derivation: constraint -differential: - element: - - id: Location - path: Location - definition: \- - comment: \- - mustSupport: false - mapping: - - identity: servd - map: Organization - - id: Location.identifier - path: Location.identifier - short: Unique business identifier for facility or location. - mustSupport: true - - id: Location.status - path: Location.status - mustSupport: true - - id: Location.name - path: Location.name - short: Name by which a facility or location is known. - min: 1 - mustSupport: true - mapping: - - identity: servd - map: ./PrimaryAddress and ./OtherAddresses - - id: Location.type - path: Location.type - short: Category of service or resource available in a location. - mustSupport: true - binding: - strength: extensible - valueSet: http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType - - id: Location.telecom - path: Location.telecom - mustSupport: true - - id: Location.address - path: Location.address - mustSupport: true - mapping: - - identity: servd - map: n/a - - id: Location.address.line - path: Location.address.line - max: '*' - type: - - code: string - mustSupport: true - - id: Location.address.city - path: Location.address.city - type: - - code: string - mustSupport: true - - id: Location.address.state - path: Location.address.state - type: - - code: string - mustSupport: true - binding: - strength: extensible - description: Two letter USPS alphabetic codes. - valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state - mapping: - - identity: servd - map: ./Sites - - id: Location.address.postalCode - path: Location.address.postalCode - short: US Zip Codes - type: - - code: string - mustSupport: true - - id: Location.managingOrganization - path: Location.managingOrganization - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization - mustSupport: true diff --git a/input/resources-yaml/StructureDefinition-us-core-medication-adherence.yml b/input/resources-yaml/StructureDefinition-us-core-medication-adherence.yml deleted file mode 100644 index f3c43f14..00000000 --- a/input/resources-yaml/StructureDefinition-us-core-medication-adherence.yml +++ /dev/null @@ -1,146 +0,0 @@ -resourceType: StructureDefinition -id: us-core-medication-adherence -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence -name: USCoreMedicationAdherenceExtension -title: US Core Medication Adherence Extension -status: active -date: 2023-10-17 -description: >- - The Medication Adherence Extension is a statement of whether a medication has - been consumed according to instructions for discharge, community-prescribed, - and self-prescribed medications. This extension is not intended to track - adherence to the Inpatient Medication Administration Record (MAR). In FHIR, - [MedicationAdministration](https://hl7.org/fhir/R4/medicationadministration.html) is typically used - to monitor compliance with the MAR. -fhirVersion: 4.0.1 -kind: complex-type -abstract: false -context: -- type: element - expression: MedicationRequest -type: Extension -baseDefinition: http://hl7.org/fhir/StructureDefinition/Extension -derivation: constraint -differential: - element: - - id: Extension - path: Extension - definition: Reported adherence to prescribed medication instructions. - min: 0 - max: '*' - - id: Extension.extension - path: Extension.extension - slicing: - discriminator: - - type: value - path: url - rules: open - min: 2 - - id: Extension.extension:medicationAdherence - path: Extension.extension - sliceName: medicationAdherence - code: - - system: http://loinc.org - code: 71799-1 - display: Adherence to prescribed medication instructions [Reported] - short: Medication adherence code - definition: >- - Code stating whether the patient is consuming or being administered the - medication has according to instructions. For example, the patient in not - taking the medication as prescribed, or the patient is taking the medication - as prescribed. - min: 1 - max: '1' - type: - - code: Extension - mustSupport: true - - id: Extension.extension:medicationAdherence.url - path: Extension.extension.url - min: 1 - max: '1' - type: - - code: uri - fixedUri: medicationAdherence - - id: Extension.extension:medicationAdherence.value[x] - path: Extension.extension.value[x] - min: 1 - max: '1' - type: - - code: CodeableConcept - binding: - strength: extensible - description: This set of values contains terms representing whether a medication has been consumed according to instructions. - # valueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.59 - valueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.8 - - id: Extension.extension:dateAsserted - path: Extension.extension - sliceName: dateAsserted - short: When the medication adherence was asserted - definition: When the medication adherence was asserted by the information source - min: 1 - max: '1' - type: - - code: Extension - mustSupport: true - - id: Extension.extension:dateAsserted.url - path: Extension.extension.url - min: 1 - max: '1' - type: - - code: uri - fixedUri: dateAsserted - - id: Extension.extension:dateAsserted.value[x] - path: Extension.extension.value[x] - min: 1 - max: '1' - type: - - code: dateTime - - id: Extension.extension:informationSource - path: Extension.extension - sliceName: informationSource - short: Who provided the information about the medication adherence - definition: The person or organization that provided the information about the - medication adherence - min: 0 - max: '*' - type: - - code: Extension - mustSupport: true - - id: Extension.extension:informationSource.url - path: Extension.extension.url - min: 1 - max: '1' - type: - - code: uri - fixedUri: informationSource - - id: Extension.extension:informationSource.value[x] - path: Extension.extension.value[x] - min: 1 - max: '1' - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson - _targetProfile: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - id: Extension.url - path: Extension.url - fixedUri: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence - - id: Extension.value[x] - path: Extension.value[x] - min: 0 - max: '0' diff --git a/input/resources-yaml/StructureDefinition-us-core-medicationrequest.yml b/input/resources-yaml/StructureDefinition-us-core-medicationrequest.yml deleted file mode 100644 index b00f61c9..00000000 --- a/input/resources-yaml/StructureDefinition-us-core-medicationrequest.yml +++ /dev/null @@ -1,275 +0,0 @@ -resourceType: StructureDefinition -id: us-core-medicationrequest -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest -version: 3.1.1 -name: USCoreMedicationRequestProfile -title: US Core MedicationRequest Profile -status: active -experimental: false -date: 2023-10-17 -publisher: HL7 US Realm Steering Committee -contact: -- telecom: - - system: url - value: http://www.healthit.gov -description: The US Core Medication Request Profile is based upon the core FHIR MedicationRequest - Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 *Medications* - requirements. The MedicationRequest resource can be used to record a patient's medication - prescription or order. This profile sets minimum expectations for the MedicationRequest - resource to record, search, and fetch a patient's medication to promote interoperability - and adoption through common implementation. It identifies which core elements, - extensions, vocabularies, and value sets **SHALL** be present in the resource and - constrains the way the elements are used when using this profile. It provides the - floor for standards development for specific use cases. -jurisdiction: -- coding: - - system: urn:iso:std:iso:3166 - code: US - display: United States of America -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: MedicationRequest -baseDefinition: http://hl7.org/fhir/StructureDefinition/MedicationRequest -derivation: constraint -differential: - element: - - id: MedicationRequest - path: MedicationRequest - definition: \- - comment: \- - constraint: - - key: us-core-21 - severity: error - human: requester SHALL be present if intent is "order" - expression: (intent='order' or intent='original-order' or intent='reflex-order'or - intent='filler-order' or intent='instance-order') implies requester.exists() - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: MedicationOrder - - id: MedicationRequest.extension:medicationAdherence - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: MedicationRequest.extension - sliceName: medicationAdherence - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: US Core Medication Adherence - Extension" - min: 0 - max: '*' - type: - - code: Extension - profile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence - mustSupport: false - - id: MedicationRequest.status - path: MedicationRequest.status - mustSupport: true - binding: - strength: required - description: A code specifying the state of the prescribing event. Describes - the lifecycle of the prescription. - valueSet: http://hl7.org/fhir/ValueSet/medicationrequest-status - mapping: - - identity: argonaut-dq-dstu2 - map: MedicationOrder.status - - id: MedicationRequest.intent - path: MedicationRequest.intent - condition: - - us-core-21 - mustSupport: true - binding: - strength: required - description: The kind of medication order. - valueSet: http://hl7.org/fhir/ValueSet/medicationrequest-intent - mapping: - - identity: argonaut-dq-dstu2 - map: MedicationOrder.status - - id: MedicationRequest.category - path: MedicationRequest.category - slicing: - discriminator: - - type: pattern - path: $this - rules: open - mustSupport: true - - id: MedicationRequest.category:us-core - path: MedicationRequest.category - sliceName: us-core - mustSupport: true - binding: - strength: required - description: The type of medication order. Note that other codes are permitted, - see [Required Bindings When Slicing by Value Sets](http://hl7.org/fhir/us/core/general-requirements.html#required-bindings-when-slicing-by-valuesets) - valueSet: http://hl7.org/fhir/ValueSet/medicationrequest-category - - id: MedicationRequest.reported[x] - path: MedicationRequest.reported[x] - type: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: boolean - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson - _targetProfile: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: MedicationOrder.status - - id: MedicationRequest.medication[x] - path: MedicationRequest.medication[x] - type: - - code: CodeableConcept - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication - mustSupport: true - binding: - strength: extensible - valueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4 - mapping: - - identity: argonaut-dq-dstu2 - map: MedicationOrder.medication[x] - - id: MedicationRequest.subject - path: MedicationRequest.subject - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: MedicationOrder.patient - - id: MedicationRequest.encounter - path: MedicationRequest.encounter - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: NA - - id: MedicationRequest.authoredOn - path: MedicationRequest.authoredOn - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: MedicationOrder.dateWritten - - id: MedicationRequest.requester - path: MedicationRequest.requester - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson - - http://hl7.org/fhir/StructureDefinition/Device - _targetProfile: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - condition: - - us-core-21 - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: MedicationOrder.prescriber - - id: MedicationRequest.reasonCode - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: MedicationRequest.reasonCode - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: Reason or indication for - ordering or not ordering the medication" - binding: - strength: extensible - valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code - - id: MedicationRequest.reasonReference - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: MedicationRequest.reasonReference - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: US Core Condition or Observation - that supports the prescription" - - id: MedicationRequest.dosageInstruction - path: MedicationRequest.dosageInstruction - mustSupport: true - - id: MedicationRequest.dosageInstruction.text - path: MedicationRequest.dosageInstruction.text - mustSupport: true - - id: MedicationRequest.dosageInstruction.timing - path: MedicationRequest.dosageInstruction.timing - mustSupport: true - - id: MedicationRequest.dosageInstruction.doseAndRate - path: MedicationRequest.dosageInstruction.doseAndRate - mustSupport: true - - id: MedicationRequest.dosageInstruction.doseAndRate.dose[x] - path: MedicationRequest.dosageInstruction.doseAndRate.dose[x] - short: Amount of medication per dose - type: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: Quantity - - code: Range - mustSupport: true - binding: - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet - valueCanonical: http://hl7.org/fhir/ValueSet/ucum-units - strength: preferred - valueSet: http://hl7.org/fhir/ValueSet/ucum-common - - id: MedicationRequest.dispenseRequest - path: MedicationRequest.dispenseRequest - mustSupport: true - - id: MedicationRequest.dispenseRequest.numberOfRepeatsAllowed - path: MedicationRequest.dispenseRequest.numberOfRepeatsAllowed - mustSupport: true - - id: MedicationRequest.dispenseRequest.quantity - path: MedicationRequest.dispenseRequest.quantity - mustSupport: true diff --git a/input/resources-yaml/StructureDefinition-us-core-observation-lab.yml b/input/resources-yaml/StructureDefinition-us-core-observation-lab.yml deleted file mode 100644 index 2c06fd33..00000000 --- a/input/resources-yaml/StructureDefinition-us-core-observation-lab.yml +++ /dev/null @@ -1,124 +0,0 @@ -resourceType: StructureDefinition -id: us-core-observation-lab -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab -name: USCoreLaboratoryResultObservationProfile -title: US Core Laboratory Result Observation Profile -status: active -experimental: false -date: 2023-10-20 -description: "The US Core Laboratory Result Observation Profile is based upon the - US Core Observation Clinical Result Profile and, along with the US Core DiagnosticReport - Profile for Laboratory Results Reporting, meets the U.S. Core Data for Interoperability - (USCDI) Laboratory requirements. Laboratory results are grouped and summarized using - the DiagnosticReport resource, which references Observation resources. Each Observation - resource represents an individual laboratory test and result value, a \u201Cnested\u201D - panel (such as a microbial susceptibility panel) that references other observations, - or rarely a laboratory test with component result values. The US Core Laboratory - Result Observation Profile sets minimum expectations for the Observation resource - to record, search, and fetch laboratory test results associated with a patient to - promote interoperability and adoption through common implementation. It identifies - which core elements, extensions, vocabularies, and value sets SHALL be present in - the resource and constrains the way the elements are used when using this profile. - It provides the floor for standards development for specific use cases." -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Observation -baseDefinition: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result -derivation: constraint -differential: - element: - - id: Observation.category:us-core - path: Observation.category - sliceName: us-core - min: 1 - max: '1' - patternCodeableConcept: - coding: - - system: http://terminology.hl7.org/CodeSystem/observation-category - code: laboratory - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Observation.category - - id: Observation.code - path: Observation.code - short: Laboratory Test Name - mustSupport: true - binding: - strength: extensible - description: Laboratory LOINC Codes - valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-laboratory-test-codes - mapping: - - identity: argonaut-dq-dstu2 - map: Observation.code - - id: Observation.value[x] - path: Observation.value[x] - short: Result Value - definition: The Laboratory result value. If a coded value, the valueCodeableConcept.code - **SHOULD** be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults) - if the concept exists. If a numeric value, valueQuantity.code **SHALL** be selected - from [UCUM](http://unitsofmeasure.org). A FHIR [UCUM Codes value set](http://hl7.org/fhir/STU3/valueset-ucum-units.html) - that defines all UCUM codes is in the FHIR specification. - type: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: Quantity - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: CodeableConcept - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: string - - code: boolean - - code: integer - - code: Range - - code: Ratio - - code: SampledData - - code: time - - code: dateTime - - code: Period - condition: - - us-core-4 - constraint: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice - valueBoolean: true - key: us-core-4 - severity: warning - human: SHOULD use Snomed CT for coded Results - expression: ofType(CodeableConcept).coding.system.empty() or (ofType(CodeableConcept).coding.system - contains 'http://snomed.info/sct') - xpath: not(exists(f:valueCodeableConcept/f:coding/f:system) ) or f:valueCodeableConcept/f:coding/f:system[@value='http://snomed.info/sct'] - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Observation.value[x] - - id: Observation.interpretation - path: Observation.interpretation - short: Result interpretation - comment: Categorical assessment of a laboratory value, often in relation to a - test's reference range. Examples include but are not limited to high, low, critical, - and normal. - mustSupport: true - binding: - strength: extensible - description: Observation Interpretation Codes - valueSet: http://hl7.org/fhir/ValueSet/observation-interpretation - - id: Observation.specimen - path: Observation.specimen - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen - mustSupport: true - - id: Observation.referenceRange - path: Observation.referenceRange - short: Result reference range - comment: Upper and lower limit of test values expected for a designated population - of individuals. Reference range values may differ by patient characteristics, - laboratory test manufacturer and laboratory test performer. - mustSupport: true diff --git a/input/resources-yaml/StructureDefinition-us-core-patient.yml b/input/resources-yaml/StructureDefinition-us-core-patient.yml index 138e1e7b..61da80fd 100644 --- a/input/resources-yaml/StructureDefinition-us-core-patient.yml +++ b/input/resources-yaml/StructureDefinition-us-core-patient.yml @@ -5,7 +5,7 @@ name: USCorePatientProfile title: US Core Patient Profile status: active experimental: false -date: 2023-10-20 +date: 2023-10-17 description: The US Core Patient Profile meets the U.S. Core Data for Interoperability (USCDI) v3 'Patient Demographics' requirements. This profile sets minimum expectations for the Patient resource to record, search, and fetch basic demographics and other @@ -295,18 +295,36 @@ differential: | billing - purpose of this address" - id: Patient.address.line path: Patient.address.line + example: + - + label: General + valueString: '49 MEADOW ST' + + _example: + - extension: + - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-suppress + valueBoolean: true + mustSupport: true mapping: - identity: argonaut-dq-dstu2 map: NA - id: Patient.address.city path: Patient.address.city + example: + - + label: General + valueString: 'EVERYTOWN' mustSupport: true mapping: - identity: argonaut-dq-dstu2 map: NA - id: Patient.address.state path: Patient.address.state + example: + - + label: General + valueString: 'OK' mustSupport: true binding: strength: extensible @@ -320,6 +338,10 @@ differential: short: US Zip Codes alias: - Zip Code + example: + - + label: General + valueString: '74047' mustSupport: true mapping: - identity: argonaut-dq-dstu2 diff --git a/input/resources-yaml/StructureDefinition-us-core-procedure.yml b/input/resources-yaml/StructureDefinition-us-core-procedure.yml deleted file mode 100644 index cf22d11a..00000000 --- a/input/resources-yaml/StructureDefinition-us-core-procedure.yml +++ /dev/null @@ -1,108 +0,0 @@ -resourceType: StructureDefinition -id: us-core-procedure -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure -name: USCoreProcedureProfile -title: US Core Procedure Profile -status: active -experimental: false -date: 2023-10-20 -publisher: HL7 US Realm Steering Committee -description: The US Core Procedure Profile is based upon the core FHIR Procedure Resource - and meets the U.S. Core Data for Interoperability (USCDI) v2 'Procedures' requirements. - This profile sets minimum expectations for the Procedure resource to record, search, - and fetch procedures associated with a patient to promote interoperability and adoption - through common implementation. It identifies which core elements, extensions, vocabularies, - and value sets **SHALL** be present in the resource and constrains the way the elements - are used when using this profile. It provides the floor for standards development - for specific use cases. -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Procedure -baseDefinition: http://hl7.org/fhir/StructureDefinition/Procedure -derivation: constraint -differential: - element: - - id: Procedure - path: Procedure - definition: \- - comment: \- - constraint: - - key: us-core-7 - severity: error - human: Performed SHALL be present if the status is 'completed' or 'in-progress' - expression: (status='completed' or status='in-progress') implies performed.exists() - mustSupport: false - mapping: - - identity: argonaut-dq-dstu2 - map: Procedure - - id: Procedure.basedOn - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Procedure.basedOn - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: A request for this procedure" - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest - mustSupport: false - - id: Procedure.status - path: Procedure.status - condition: - - us-core-7 - mustSupport: true - binding: - strength: required - valueSet: http://hl7.org/fhir/ValueSet/event-status - mapping: - - identity: argonaut-dq-dstu2 - map: Procedure.status - - id: Procedure.code - path: Procedure.code - min: 1 - mustSupport: true - binding: - strength: extensible - description: Codes describing the type of Procedure - valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code - mapping: - - identity: argonaut-dq-dstu2 - map: Procedure.code - - id: Procedure.subject - path: Procedure.subject - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Procedure.subject - - id: Procedure.encounter - path: Procedure.encounter - short: Encounter associated with the procedure - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter - mustSupport: true - - id: Procedure.performed[x] - path: Procedure.performed[x] - type: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: dateTime - - code: Period - - code: string - - code: Age - - code: Range - condition: - - us-core-7 - mustSupport: true - mapping: - - identity: argonaut-dq-dstu2 - map: Procedure.performed[x] diff --git a/input/resources-yaml/StructureDefinition-us-core-specimen.yml b/input/resources-yaml/StructureDefinition-us-core-specimen.yml deleted file mode 100644 index 5cad3a13..00000000 --- a/input/resources-yaml/StructureDefinition-us-core-specimen.yml +++ /dev/null @@ -1,81 +0,0 @@ -resourceType: StructureDefinition -id: us-core-specimen -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen -name: USCoreSpecimenProfile -title: US Core Specimen Profile -status: active -experimental: false -date: 2023-10-20 -description: This profile sets minimum expectations for the Specimen resource to record, - search, and fetch "substances being sampled or tested. (e.g., nasopharyngeal swab, - whole blood, serum, urine, wound swab)" associated with a patient to promote interoperability - and adoption through common implementation. It identifies which core elements, - extensions, vocabularies, and value sets **SHALL** be present in the resource and - constrains the way the elements are used when using this profile. It provides the - floor for standards development for specific use cases. -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Specimen -baseDefinition: http://hl7.org/fhir/StructureDefinition/Specimen -derivation: constraint -differential: - element: - - id: Specimen - path: Specimen - definition: \- - comment: \- - mustSupport: false - - id: Specimen.identifier - path: Specimen.identifier - short: Specimen identifier - mustSupport: true - - id: Specimen.type - path: Specimen.type - min: 1 - mustSupport: true - binding: - strength: extensible - valueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.54 - - id: Specimen.subject - path: Specimen.subject - short: The patient where the specimen came from. - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - mustSupport: true - - id: Specimen.collection - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Specimen.collection - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: Collection details" - - id: Specimen.collection.bodySite - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Specimen.collection.bodySite - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: Specimen Source Site" - comment: Body location from where a specimen was obtained. Examples include but - are not limited to right internal jugular, left arm, and right eye. - binding: - strength: extensible - valueSet: http://hl7.org/fhir/ValueSet/body-site - - id: Specimen.condition - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Specimen.condition - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: Specimen condition acceptability" - comment: Information regarding a specimen, including the container, that does - not meet a laboratory's criteria for acceptability. Examples include but are - not limited to hemolyzed, clotted, container leaking, and missing patient name. - This may include information about the contents of the container, the container, - and the label. - binding: - strength: extensible - valueSet: http://terminology.hl7.org/ValueSet/v2-0493 diff --git a/input/resources-yaml/StructureDefinition-us-core-treatment-intervention-preference.yml b/input/resources-yaml/StructureDefinition-us-core-treatment-intervention-preference.yml deleted file mode 100644 index c6d42a64..00000000 --- a/input/resources-yaml/StructureDefinition-us-core-treatment-intervention-preference.yml +++ /dev/null @@ -1,70 +0,0 @@ -resourceType: StructureDefinition -id: us-core-treatment-intervention-preference -url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference -version: 3.2.0 -name: USCoreTreatmentInterventionPreferenceProfile -title: US Core Treatment Intervention Preference Profile -status: active -experimental: false -date: 2023-10-20 -description: To promote interoperability and adoption through common implementation, - this profile sets minimum expectations for the Observation resource to record, search, - and fetch for a patient's treatment intervention preferences. It is based on the - US Core Simple Profile and identifies which *additional* core elements, extensions, - vocabularies, and value sets **SHALL** be present and constrains the way the elements - are used when using the profile. It provides the floor for standards development - for specific use cases. -copyright: Used by permission of HL7 International, all rights reserved Creative Commons - License -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: Observation -baseDefinition: http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation -derivation: constraint -differential: - element: - - id: Observation - path: Observation - short: US Core Treatment Intervention Preference Profile - definition: \- - comment: \- - - id: Observation.category:us-core - path: Observation.category - sliceName: us-core - min: 0 - max: '1' - patternCodeableConcept: - coding: - - system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category - code: treatment-intervention-preference - mustSupport: true - - id: Observation.code - path: Observation.code - short: Treatment intervention preferences code - type: - - code: CodeableConcept - patternCodeableConcept: - coding: - - system: http://hl7.org/fhir/us/core/CodeSystem/us-core-category - code: treatment-intervention-preference - mustSupport: true - - id: Observation.derivedFrom - extension: - - url: http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement - valueBoolean: true - path: Observation.derivedFrom - short: "\U0001D5D4\U0001D5D7\U0001D5D7\U0001D5DC\U0001D5E7\U0001D5DC\U0001D5E2\U0001D5E1\U0001D5D4\U0001D5DF - \U0001D5E8\U0001D5E6\U0001D5D6\U0001D5D7\U0001D5DC: US Core Profiles or other - resource the observation is made from" - definition: US Core Observations, DocumentReference, QuestionnaireResponse or - other resource from which this observation value is derived. - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference - - http://hl7.org/fhir/StructureDefinition/Observation - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse - - http://hl7.org/fhir/StructureDefinition/ImagingStudy - - http://hl7.org/fhir/StructureDefinition/Media - - http://hl7.org/fhir/StructureDefinition/MolecularSequence diff --git a/input/resources-yaml/StructureDefinition-uscore-medicationstatement.yml b/input/resources-yaml/StructureDefinition-uscore-medicationstatement.yml deleted file mode 100644 index 31c8c514..00000000 --- a/input/resources-yaml/StructureDefinition-uscore-medicationstatement.yml +++ /dev/null @@ -1,160 +0,0 @@ -resourceType: StructureDefinition -id: us-core-medicationstatement -url: http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationstatement -name: USCoreMedicationStatement -title: US Core MedicationStatement -status: active -experimental: false -date: 2023-10-12 -description: 'Profile of MedicationStatement to support medication adherence - record - of a statement of whether a medication has been consumed according to instructions. - - This profile sets minimum expectations for the MedicationStatement resource to record, - search, and fetch a record of a statement of whether a medication has been consumed - according to instructions. It identifies which core elements, extensions, vocabularies, - and value sets **SHALL** be present in the resource and constrains the way the elements - are used when using this profile. It provides the floor for standards development - for specific use cases to promote interoperability and adoption through common implementation.' -fhirVersion: 4.0.1 -kind: resource -abstract: false -type: MedicationStatement -baseDefinition: http://hl7.org/fhir/StructureDefinition/MedicationStatement -derivation: constraint -differential: - element: - - id: MedicationStatement - path: MedicationStatement - mustSupport: false - - id: MedicationStatement.extension:med-adherence - path: MedicationStatement.extension - sliceName: med-adherence - short: Indicates whether the medication is or is not being consumed or administered - definition: The FHIR R5 `Medication.adherence` extension to record medication - adherence - min: 0 - max: '1' - type: - - code: Extension - profile: - - http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationUsage.adherence - mustSupport: false - - id: MedicationStatement.basedOn - path: MedicationStatement.basedOn - short: plan, proposal or order this is fulfilling - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest - _targetProfile: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - mustSupport: true - - id: MedicationStatement.status - path: MedicationStatement.status - mustSupport: true - binding: - strength: required - valueSet: http://www.fhir.org/guides/uscdi4-sandbox/ValueSet/uscore-medicationstatement-status - - id: MedicationStatement.medication[x] - path: MedicationStatement.medication[x] - short: Medication taken - type: - - code: CodeableConcept - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication - mustSupport: true - binding: - strength: extensible - valueSet: http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4 - - id: MedicationStatement.subject - path: MedicationStatement.subject - short: Who is/was taking the medication - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - mustSupport: true - - id: MedicationStatement.effective[x] - path: MedicationStatement.effective[x] - mustSupport: true - - id: MedicationStatement.dateAsserted - path: MedicationStatement.dateAsserted - short: When the statement was asserted - mustSupport: true - - id: MedicationStatement.informationSource - path: MedicationStatement.informationSource - type: - - code: Reference - targetProfile: - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole - - http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson - _targetProfile: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: false - mustSupport: true - - id: MedicationStatement.reasonCode - path: MedicationStatement.reasonCode - binding: - strength: extensible - valueSet: http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code - - id: MedicationStatement.reasonReference - path: MedicationStatement.reasonReference - - id: MedicationStatement.dosage - path: MedicationStatement.dosage - short: How the medication should be taken - mustSupport: true - - id: MedicationStatement.dosage.text - path: MedicationStatement.dosage.text - short: Free text dosage instructions e.g. SIG - mustSupport: true - - id: MedicationStatement.dosage.timing - path: MedicationStatement.dosage.timing - short: When medication should be administered - mustSupport: true - - id: MedicationStatement.dosage.doseAndRate - path: MedicationStatement.dosage.doseAndRate - short: Amount of medication administered - mustSupport: true - - id: MedicationStatement.dosage.doseAndRate.dose[x] - path: MedicationStatement.dosage.doseAndRate.dose[x] - short: Amount of medication per dose - type: - - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support - valueBoolean: true - code: Quantity - - code: Range - mustSupport: true - binding: - extension: - - url: http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet - valueCanonical: http://hl7.org/fhir/ValueSet/ucum-units - strength: preferred - valueSet: http://hl7.org/fhir/ValueSet/ucum-common diff --git a/input/resources-yaml/ValueSet-uscore-care-experience-preference.yml b/input/resources-yaml/ValueSet-uscore-care-experience-preference.yml deleted file mode 100644 index d7d38d62..00000000 --- a/input/resources-yaml/ValueSet-uscore-care-experience-preference.yml +++ /dev/null @@ -1,30 +0,0 @@ -resourceType: ValueSet -id: uscore-care-experience-preference - -# url: 'http://hl7.org/fhir/ValueSet/uscore-medicationstatement-status' -url: 'http://www.fhir.org/guides/uscdi4-sandbox/ValueSet/uscore-care-experience-preference' - - - - -version: 4.0.1 -name: USCoreCareExperiencePreference -title: US Core Care Experience Preference Codes -status: draft -experimental: false -date: '2023-08-15' - -description: >- - A code representing an individual's care experience preferences. -compose: # only 95541-9 Care experience preference" from the PACIO ValueSet - include: - - system: 'http://loinc.org' - concept: - - - code: 95541-9 - display: Care experience preference - - - - - diff --git a/input/resources-yaml/ValueSet-uscore-common-sdoh-assessments.yml b/input/resources-yaml/ValueSet-uscore-common-sdoh-assessments.yml deleted file mode 100644 index 022f963d..00000000 --- a/input/resources-yaml/ValueSet-uscore-common-sdoh-assessments.yml +++ /dev/null @@ -1,51 +0,0 @@ -resourceType: ValueSet -id: uscore-common-sdoh-assessments -url: 'http://hl7.org/fhir/us/core/ValueSet/uscore-common-sdoh-assessments' -version: 4.1.0 -name: USCoreCommonSDOHAssessments -title: US Core Common SDOH Assessments ValueSet -status: active -experimental: true -date: '2021-11-15' -description: >- - Common SDOH assessment concepts covering the following categories (Gravity - Project SDOH Domains): - - Food (Food Insecurity) - - Housing (Housing Instability) - - Health (Social Connection, Stress) - - Employment (Employment Status) - - Care (SDOH Category Unspecified) - - Transit (Transportation Insecurity) - - Money (Financial Insecurity) - - Goods (Material Hardship) - - Education (SDOH Category Unspecified) - - Legal (SDOH Category Unspecified) -copyright: >- - This material contains content from LOINC (http://loinc.org). LOINC is - copyright © 1995-2020, Regenstrief Institute, Inc. and the Logical Observation - Identifiers Names and Codes (LOINC) Committee and is available at no cost - under the license at http://loinc.org/license. LOINC® is a registered United - States trademark of Regenstrief Institute, Inc -compose: - include: - - system: 'http://loinc.org' - concept: - - code: 88123-5 - - code: 88122-7 - - code: 96779-4 - - code: 71802-3 - - code: 93029-7 - - code: 76437-3 - - code: 81375-8 - - code: 93038-8 - - code: 96780-2 - - code: 67875-5 - - code: 95618-5 - - code: 93031-3 - - code: 93030-5 - - code: 63586-2 - - code: 93031-3 - - code: 93031-3 - - code: 93031-3 - - code: 96782-8 - - code: 93677-3 \ No newline at end of file diff --git a/input/resources-yaml/ValueSet-uscore-medicationstatement-status.yml b/input/resources-yaml/ValueSet-uscore-medicationstatement-status.yml deleted file mode 100644 index 9c21d563..00000000 --- a/input/resources-yaml/ValueSet-uscore-medicationstatement-status.yml +++ /dev/null @@ -1,25 +0,0 @@ -resourceType: ValueSet -id: uscore-medicationstatement-status - -# url: 'http://hl7.org/fhir/ValueSet/uscore-medicationstatement-status' -url: 'http://www.fhir.org/guides/uscdi4-sandbox/ValueSet/uscore-medicationstatement-status' - -version: 4.0.1 -name: USCoreMedicationstatementStatus -title: US Core Medication Status Codes -status: draft -experimental: false -date: '2023-08-15' - -description: A code specifying the state of the statement. Generally, this will be active or completed state. This value set excludes the concept used internally by the FHIR specification, not-taken,on-hold,stopped, and unknown, because they are covered by the medication adherence extension. -compose: - include: - - system: 'http://hl7.org/fhir/CodeSystem/medication-statement-status' - exclude: - - system: 'http://hl7.org/fhir/CodeSystem/medication-statement-status' - concept: - - code: not-taken - - code: on-hold - - code: stopped - - code: unknown - diff --git a/input/resources-yaml/ValueSet-uscore-pa-codes.yml b/input/resources-yaml/ValueSet-uscore-pa-codes.yml deleted file mode 100644 index 85e0db94..00000000 --- a/input/resources-yaml/ValueSet-uscore-pa-codes.yml +++ /dev/null @@ -1,52 +0,0 @@ -resourceType: ValueSet -id: uscore-pa-codes - -url: 'http://hl7.org/fhir/us/core/ValueSet/uscore-pa-codes' -# url: 'http://www.fhir.org/guides/uscdi4-sandbox/ValueSet/uscore-treatment-intervention-preference' - - -name: USCorePaCodesValueSet -title: US Core PA Codes ValueSet -status: draft -experimental: true -date: '2023-10-30' - -description: >- - A starter set of Physical Activity codes based off the [Physical activity IG](https://hl7.org/fhir/us/physical-activity/) -compose: - include: - - - - system: 'http://loinc.org' # LOINCs from the PA IG - concept: - - code: 73985-4 - display: Exercise activity - - code: 55411-3 - display: Exercise duration - - code: 77592-4 - display: Moderate physical activity [IPAQ] - - code: 77593-2 - display: Vigorous physical activity [IPAQ] - - code: 55426-1 - display: Heart rate unspecified time maximum by Pedometer - - code: 55425-3 - display: Heart rate unspecified time mean by Pedometer - - code: 55424-6 - display: Calories burned in unspecified time Pedometer - - code: 89555-7 - display: How many days per week did you engage in moderate to strenuous physical activity in the last 30 days - - code: 68516-4 - display: On those days that you engage in moderate to strenuous exercise, how many minutes, on average, do you exercise - - code: 82290-8 - display: Frequency of moderate to vigorous aerobic physical activity - - code: 82291-6 - display: Frequency of muscle-strengthening physical activity - - - - - - - - - diff --git a/input/resources-yaml/ValueSet-uscore-treatment-intervention-preference.yml b/input/resources-yaml/ValueSet-uscore-treatment-intervention-preference.yml deleted file mode 100644 index ae471096..00000000 --- a/input/resources-yaml/ValueSet-uscore-treatment-intervention-preference.yml +++ /dev/null @@ -1,31 +0,0 @@ -resourceType: ValueSet -id: uscore-treatment-intervention-preference - -url: 'http://hl7.org/fhir/us/core/ValueSet/uscore-treatment-intervention-preference' -# url: 'http://www.fhir.org/guides/uscdi4-sandbox/ValueSet/uscore-treatment-intervention-preference' - - -name: USCoreTreatmentInterventionPreferencValueSet -title: US Core Treatment Intervention Preference ValueSet -status: draft -experimental: false -date: '2023-10-02' - -description: >- - A code representing an individual's medical intervention (treatment) preferences. -compose: - include: - - valueSet: - - 'https://cts.nlm.nih.gov/fhir/res/ValueSet/2.16.840.1.113762.1.4.1115.9' # Intervention Preferences at End of Life Grouping - NEED TO ADD LOINC for Intervention Preference - - system: 'http://hl7.org/fhir/us/core/CodeSystem/uscore-treatment-intervention-preference' # only "treatment-intervention" from the PACIO ValueSet - concept: - - code: intervention-preference - display: Intervention preference - - - - - - - - diff --git a/input/resources/CodeSystem-uscore-treatment-intervention-preference.json b/input/resources/CodeSystem-uscore-treatment-intervention-preference.json deleted file mode 100644 index 1e0fb1c0..00000000 --- a/input/resources/CodeSystem-uscore-treatment-intervention-preference.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "resourceType": "CodeSystem", - "id": "uscore-treatment-intervention-preference", - "url": "http://hl7.org/fhir/us/core/CodeSystem/uscore-treatment-intervention-preference", - "name": "USCoreTreatmentInterventionPreferenceCodeSystem", - "title": "US Core Treatment Intervention Preference CodeSystem", - "status": "active", - "experimental": false, - "date": "2023-10-02", - "description": "A code representing an individual's medical intervention (treatment) preferences.", - "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", - "caseSensitive": true, - "content": "complete", - "concept": [ - { - "code": "intervention-preference", - "display": "Intervention Preference", - "definition": "A personal preference for a type of medical intervention (treatment) request under certain conditions." - } - ] -} \ No newline at end of file diff --git a/input/resources/StructureDefinition-us-core-average-blood-pressure.json b/input/resources/StructureDefinition-us-core-average-blood-pressure.json index 41999efd..dfce998a 100644 --- a/input/resources/StructureDefinition-us-core-average-blood-pressure.json +++ b/input/resources/StructureDefinition-us-core-average-blood-pressure.json @@ -6,13 +6,13 @@ "title": "US Core Average Blood Pressure Profile", "status": "active", "experimental": false, - "date": "2023-10-20", + "date": "2023-10-17", "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch average diastolic and systolic blood pressure observations with standard LOINC codes and UCUM units of measure. It is based on the US Core Vital Signs Profile and identifies which *additional* core elements, extensions, vocabularies, and value sets **SHALL** be present and constrains the way the elements are used when using the profile. It provides the floor for standards development for specific use cases.", "fhirVersion": "4.0.1", "kind": "resource", "abstract": false, "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs", + "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure", "derivation": "constraint", "differential": { "element": [ @@ -27,18 +27,38 @@ "id": "Observation.code", "path": "Observation.code", "short": "Average Blood Pressure", + "comment": "The code (96607-7 Blood pressure panel mean systolic and mean diastolic) is added as a translation to the US Core vital Blood Pressure code (85354-9 Blood Blood pressure panel with all children optional).", + "mustSupport": true + }, + { + "id": "Observation.code.coding", + "path": "Observation.code.coding", + "slicing": { + "discriminator": [ + { + "type": "pattern", + "path": "$this" + } + ], + "rules": "open" + }, + "min": 1, + "mustSupport": true + }, + { + "id": "Observation.code.coding:uscore-avg-bp", + "path": "Observation.code.coding", + "sliceName": "uscore-avg-bp", + "min": 1, + "max": "1", "type": [ { - "code": "CodeableConcept" + "code": "Coding" } ], - "patternCodeableConcept": { - "coding": [ - { - "system": "http://loinc.org", - "code": "96607-7" - } - ] + "patternCoding": { + "system": "http://loinc.org", + "code": "96607-7" }, "mustSupport": true }, @@ -64,106 +84,50 @@ }, { "id": "Observation.component", - "path": "Observation.component", - "slicing": { - "discriminator": [ - { - "type": "pattern", - "path": "code" - } - ], - "ordered": false, - "rules": "open" - }, - "short": "Component observations", - "min": 2, - "max": "*", - "mustSupport": true + "path": "Observation.component" }, { "id": "Observation.component:systolic", "path": "Observation.component", "sliceName": "systolic", - "short": "Average Systolic Blood Pressure", - "min": 1, - "max": "1", - "mustSupport": true + "short": "Average Systolic Blood Pressure" }, { "id": "Observation.component:systolic.code", "path": "Observation.component.code", "short": "Average Systolic Blood Pressure Code", - "min": 1, - "max": "1", - "patternCodeableConcept": { - "coding": [ + "comment": "The code (96608-5 Systolic blood pressure mean) is added as a translation to the US Core vital Blood Pressure component code (8480-6 Systolic blood pressure)." + }, + { + "id": "Observation.component:systolic.code.coding", + "path": "Observation.component.code.coding", + "slicing": { + "discriminator": [ { - "system": "http://loinc.org", - "code": "96608-5" + "type": "pattern", + "path": "$this" } - ] + ], + "rules": "open" }, - "mustSupport": true - }, - { - "id": "Observation.component:systolic.valueQuantity", - "path": "Observation.component.valueQuantity", - "short": "Vital Sign Component Value", - "type": [ - { - "code": "Quantity" - } - ], - "mustSupport": true - }, - { - "id": "Observation.component:systolic.valueQuantity.value", - "path": "Observation.component.valueQuantity.value", - "min": 1, - "max": "1", - "type": [ - { - "code": "decimal" - } - ], - "mustSupport": true - }, - { - "id": "Observation.component:systolic.valueQuantity.unit", - "path": "Observation.component.valueQuantity.unit", "min": 1, - "max": "1", - "type": [ - { - "code": "string" - } - ], "mustSupport": true }, { - "id": "Observation.component:systolic.valueQuantity.system", - "path": "Observation.component.valueQuantity.system", + "id": "Observation.component:systolic.code.coding:uscore-avg-systolic-bp", + "path": "Observation.component.code.coding", + "sliceName": "uscore-avg-systolic-bp", "min": 1, "max": "1", "type": [ { - "code": "uri" + "code": "Coding" } ], - "fixedUri": "http://unitsofmeasure.org", - "mustSupport": true - }, - { - "id": "Observation.component:systolic.valueQuantity.code", - "path": "Observation.component.valueQuantity.code", - "min": 1, - "max": "1", - "type": [ - { - "code": "code" - } - ], - "fixedCode": "mm[Hg]", + "patternCoding": { + "system": "http://loinc.org", + "code": "96608-5" + }, "mustSupport": true }, { @@ -171,85 +135,44 @@ "path": "Observation.component", "sliceName": "diastolic", "short": "Average Diastolic Blood Pressure", - "min": 1, - "max": "1", "mustSupport": true }, { "id": "Observation.component:diastolic.code", "path": "Observation.component.code", "short": "Average Diastolic Blood Pressure Code", - "min": 1, - "max": "1", - "patternCodeableConcept": { - "coding": [ + "comment": "The code (96609-3 Diastolic blood pressure mean) is added as a translation to the US Core vital Blood Pressure component code (8462-4 Diastolic blood pressure)." + }, + { + "id": "Observation.component:diastolic.code.coding", + "path": "Observation.component.code.coding", + "slicing": { + "discriminator": [ { - "system": "http://loinc.org", - "code": "96609-3" + "type": "pattern", + "path": "$this" } - ] + ], + "rules": "open" }, - "mustSupport": true - }, - { - "id": "Observation.component:diastolic.valueQuantity", - "path": "Observation.component.valueQuantity", - "short": "Vital Sign Component Value", - "type": [ - { - "code": "Quantity" - } - ], - "mustSupport": true - }, - { - "id": "Observation.component:diastolic.valueQuantity.value", - "path": "Observation.component.valueQuantity.value", - "min": 1, - "max": "1", - "type": [ - { - "code": "decimal" - } - ], - "mustSupport": true - }, - { - "id": "Observation.component:diastolic.valueQuantity.unit", - "path": "Observation.component.valueQuantity.unit", "min": 1, - "max": "1", - "type": [ - { - "code": "string" - } - ], "mustSupport": true }, { - "id": "Observation.component:diastolic.valueQuantity.system", - "path": "Observation.component.valueQuantity.system", + "id": "Observation.component:diastolic.code.coding:uscore-avg-diastolic-bp", + "path": "Observation.component.code.coding", + "sliceName": "uscore-avg-diastolic-bp", "min": 1, "max": "1", "type": [ { - "code": "uri" + "code": "Coding" } ], - "fixedUri": "http://unitsofmeasure.org", - "mustSupport": true - }, - { - "id": "Observation.component:diastolic.valueQuantity.code", - "path": "Observation.component.valueQuantity.code", - "min": 1, - "max": "1", - "type": [ - { - "code": "code" - } - ], - "fixedCode": "mm[Hg]", + "patternCoding": { + "system": "http://loinc.org", + "code": "96609-3" + }, "mustSupport": true } ] diff --git a/input/resources/StructureDefinition-us-core-care-experience-preference.json b/input/resources/StructureDefinition-us-core-care-experience-preference.json deleted file mode 100644 index 31c71b39..00000000 --- a/input/resources/StructureDefinition-us-core-care-experience-preference.json +++ /dev/null @@ -1,89 +0,0 @@ -{ - "resourceType": "StructureDefinition", - "id": "us-core-care-experience-preference", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-care-experience-preference", - "name": "USCoreCareExperiencePreferenceProfile", - "title": "US Core Care Experience Preference Profile", - "status": "active", - "experimental": false, - "date": "2023-10-20", - "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch for a patient's care experience preferences. It is based on the US Core Simple Profile and identifies which *additional* core elements, extensions, vocabularies, and value sets **SHALL** be present and constrains the way the elements are used when using the profile. It provides the floor for standards development for specific use cases.", - "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", - "fhirVersion": "4.0.1", - "kind": "resource", - "abstract": false, - "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation", - "derivation": "constraint", - "differential": { - "element": [ - { - "id": "Observation", - "path": "Observation", - "short": "US Core Care Experience Preference Profile", - "definition": "\\-", - "comment": "\\-" - }, - { - "id": "Observation.category:us-core", - "path": "Observation.category", - "sliceName": "us-core", - "min": 0, - "max": "1", - "patternCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-category", - "code": "care-experience-preference" - } - ] - }, - "mustSupport": true - }, - { - "id": "Observation.code", - "path": "Observation.code", - "short": "Care experience preferences code", - "type": [ - { - "code": "CodeableConcept" - } - ], - "patternCodeableConcept": { - "coding": [ - { - "system": "http://loinc.org", - "code": "95541-9" - } - ] - }, - "mustSupport": true - }, - { - "id": "Observation.derivedFrom", - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement", - "valueBoolean": true - } - ], - "path": "Observation.derivedFrom", - "short": "\ud835\uddd4\ud835\uddd7\ud835\uddd7\ud835\udddc\ud835\udde7\ud835\udddc\ud835\udde2\ud835\udde1\ud835\uddd4\ud835\udddf \ud835\udde8\ud835\udde6\ud835\uddd6\ud835\uddd7\ud835\udddc: US Core Profiles or other resource the observation is made from", - "definition": "US Core Observations, DocumentReference, QuestionnaireResponse or other resource from which this observation value is derived.", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference", - "http://hl7.org/fhir/StructureDefinition/Observation", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse", - "http://hl7.org/fhir/StructureDefinition/ImagingStudy", - "http://hl7.org/fhir/StructureDefinition/Media", - "http://hl7.org/fhir/StructureDefinition/MolecularSequence" - ] - } - ] - } - ] - } -} \ No newline at end of file diff --git a/input/resources/StructureDefinition-us-core-location.json b/input/resources/StructureDefinition-us-core-location.json deleted file mode 100644 index 2c2e3f80..00000000 --- a/input/resources/StructureDefinition-us-core-location.json +++ /dev/null @@ -1,150 +0,0 @@ -{ - "resourceType": "StructureDefinition", - "id": "us-core-location", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location", - "name": "USCoreLocation", - "title": "US Core Location Profile", - "status": "active", - "experimental": false, - "date": "2023-10-20", - "description": "This profile sets minimum expectations for the Location resource for recording, searching, and fetching a \"physical place of available services or resources.\" It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present and constrains how the elements are used when using the profile. It provides the floor for standards development for specific use cases to promote interoperability and adoption through common implementation.", - "fhirVersion": "4.0.1", - "kind": "resource", - "abstract": false, - "type": "Location", - "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location", - "derivation": "constraint", - "differential": { - "element": [ - { - "id": "Location", - "path": "Location", - "definition": "\\-", - "comment": "\\-", - "mustSupport": false, - "mapping": [ - { - "identity": "servd", - "map": "Organization" - } - ] - }, - { - "id": "Location.identifier", - "path": "Location.identifier", - "short": "Unique business identifier for facility or location.", - "mustSupport": true - }, - { - "id": "Location.status", - "path": "Location.status", - "mustSupport": true - }, - { - "id": "Location.name", - "path": "Location.name", - "short": "Name by which a facility or location is known.", - "min": 1, - "mustSupport": true, - "mapping": [ - { - "identity": "servd", - "map": "./PrimaryAddress and ./OtherAddresses" - } - ] - }, - { - "id": "Location.type", - "path": "Location.type", - "short": "Category of service or resource available in a location.", - "mustSupport": true, - "binding": { - "strength": "extensible", - "valueSet": "http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType" - } - }, - { - "id": "Location.telecom", - "path": "Location.telecom", - "mustSupport": true - }, - { - "id": "Location.address", - "path": "Location.address", - "mustSupport": true, - "mapping": [ - { - "identity": "servd", - "map": "n/a" - } - ] - }, - { - "id": "Location.address.line", - "path": "Location.address.line", - "max": "*", - "type": [ - { - "code": "string" - } - ], - "mustSupport": true - }, - { - "id": "Location.address.city", - "path": "Location.address.city", - "type": [ - { - "code": "string" - } - ], - "mustSupport": true - }, - { - "id": "Location.address.state", - "path": "Location.address.state", - "type": [ - { - "code": "string" - } - ], - "mustSupport": true, - "binding": { - "strength": "extensible", - "description": "Two letter USPS alphabetic codes.", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-usps-state" - }, - "mapping": [ - { - "identity": "servd", - "map": "./Sites" - } - ] - }, - { - "id": "Location.address.postalCode", - "path": "Location.address.postalCode", - "short": "US Zip Codes", - "type": [ - { - "code": "string" - } - ], - "mustSupport": true - }, - { - "id": "Location.managingOrganization", - "path": "Location.managingOrganization", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" - ] - } - ], - "mustSupport": true - } - ] - } -} \ No newline at end of file diff --git a/input/resources/StructureDefinition-us-core-medication-adherence.json b/input/resources/StructureDefinition-us-core-medication-adherence.json deleted file mode 100644 index ac86f71f..00000000 --- a/input/resources/StructureDefinition-us-core-medication-adherence.json +++ /dev/null @@ -1,224 +0,0 @@ -{ - "resourceType": "StructureDefinition", - "id": "us-core-medication-adherence", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence", - "name": "USCoreMedicationAdherenceExtension", - "title": "US Core Medication Adherence Extension", - "status": "active", - "date": "2023-10-17", - "description": "The Medication Adherence Extension is a statement of whether a medication has been consumed according to instructions for discharge, community-prescribed, and self-prescribed medications. This extension is not intended to track adherence to the Inpatient Medication Administration Record (MAR). In FHIR, [MedicationAdministration](https://hl7.org/fhir/R4/medicationadministration.html) is typically used to monitor compliance with the MAR.", - "fhirVersion": "4.0.1", - "kind": "complex-type", - "abstract": false, - "context": [ - { - "type": "element", - "expression": "MedicationRequest" - } - ], - "type": "Extension", - "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", - "derivation": "constraint", - "differential": { - "element": [ - { - "id": "Extension", - "path": "Extension", - "definition": "Reported adherence to prescribed medication instructions.", - "min": 0, - "max": "*" - }, - { - "id": "Extension.extension", - "path": "Extension.extension", - "slicing": { - "discriminator": [ - { - "type": "value", - "path": "url" - } - ], - "rules": "open" - }, - "min": 2 - }, - { - "id": "Extension.extension:medicationAdherence", - "path": "Extension.extension", - "sliceName": "medicationAdherence", - "code": [ - { - "system": "http://loinc.org", - "code": "71799-1", - "display": "Adherence to prescribed medication instructions [Reported]" - } - ], - "short": "Medication adherence code", - "definition": "Code stating whether the patient is consuming or being administered the medication has according to instructions. For example, the patient in not taking the medication as prescribed, or the patient is taking the medication as prescribed.", - "min": 1, - "max": "1", - "type": [ - { - "code": "Extension" - } - ], - "mustSupport": true - }, - { - "id": "Extension.extension:medicationAdherence.url", - "path": "Extension.extension.url", - "min": 1, - "max": "1", - "type": [ - { - "code": "uri" - } - ], - "fixedUri": "medicationAdherence" - }, - { - "id": "Extension.extension:medicationAdherence.value[x]", - "path": "Extension.extension.value[x]", - "min": 1, - "max": "1", - "type": [ - { - "code": "CodeableConcept" - } - ], - "binding": { - "strength": "extensible", - "description": "This set of values contains terms representing whether a medication has been consumed according to instructions.", - "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1240.8" - } - }, - { - "id": "Extension.extension:dateAsserted", - "path": "Extension.extension", - "sliceName": "dateAsserted", - "short": "When the medication adherence was asserted", - "definition": "When the medication adherence was asserted by the information source", - "min": 1, - "max": "1", - "type": [ - { - "code": "Extension" - } - ], - "mustSupport": true - }, - { - "id": "Extension.extension:dateAsserted.url", - "path": "Extension.extension.url", - "min": 1, - "max": "1", - "type": [ - { - "code": "uri" - } - ], - "fixedUri": "dateAsserted" - }, - { - "id": "Extension.extension:dateAsserted.value[x]", - "path": "Extension.extension.value[x]", - "min": 1, - "max": "1", - "type": [ - { - "code": "dateTime" - } - ] - }, - { - "id": "Extension.extension:informationSource", - "path": "Extension.extension", - "sliceName": "informationSource", - "short": "Who provided the information about the medication adherence", - "definition": "The person or organization that provided the information about the medication adherence", - "min": 0, - "max": "*", - "type": [ - { - "code": "Extension" - } - ], - "mustSupport": true - }, - { - "id": "Extension.extension:informationSource.url", - "path": "Extension.extension.url", - "min": 1, - "max": "1", - "type": [ - { - "code": "uri" - } - ], - "fixedUri": "informationSource" - }, - { - "id": "Extension.extension:informationSource.value[x]", - "path": "Extension.extension.value[x]", - "min": 1, - "max": "1", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" - ], - "_targetProfile": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - } - ] - } - ] - }, - { - "id": "Extension.url", - "path": "Extension.url", - "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence" - }, - { - "id": "Extension.value[x]", - "path": "Extension.value[x]", - "min": 0, - "max": "0" - } - ] - } -} \ No newline at end of file diff --git a/input/resources/StructureDefinition-us-core-medicationrequest.json b/input/resources/StructureDefinition-us-core-medicationrequest.json deleted file mode 100644 index ed937740..00000000 --- a/input/resources/StructureDefinition-us-core-medicationrequest.json +++ /dev/null @@ -1,471 +0,0 @@ -{ - "resourceType": "StructureDefinition", - "id": "us-core-medicationrequest", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest", - "version": "3.1.1", - "name": "USCoreMedicationRequestProfile", - "title": "US Core MedicationRequest Profile", - "status": "active", - "experimental": false, - "date": "2023-10-17", - "publisher": "HL7 US Realm Steering Committee", - "contact": [ - { - "telecom": [ - { - "system": "url", - "value": "http://www.healthit.gov" - } - ] - } - ], - "description": "The US Core Medication Request Profile is based upon the core FHIR MedicationRequest Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 *Medications* requirements. The MedicationRequest resource can be used to record a patient's medication prescription or order. This profile sets minimum expectations for the MedicationRequest resource to record, search, and fetch a patient's medication to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.", - "jurisdiction": [ - { - "coding": [ - { - "system": "urn:iso:std:iso:3166", - "code": "US", - "display": "United States of America" - } - ] - } - ], - "fhirVersion": "4.0.1", - "kind": "resource", - "abstract": false, - "type": "MedicationRequest", - "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationRequest", - "derivation": "constraint", - "differential": { - "element": [ - { - "id": "MedicationRequest", - "path": "MedicationRequest", - "definition": "\\-", - "comment": "\\-", - "constraint": [ - { - "key": "us-core-21", - "severity": "error", - "human": "requester SHALL be present if intent is \"order\"", - "expression": "(intent='order' or intent='original-order' or intent='reflex-order'or intent='filler-order' or intent='instance-order') implies requester.exists()" - } - ], - "mustSupport": false, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "MedicationOrder" - } - ] - }, - { - "id": "MedicationRequest.extension:medicationAdherence", - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement", - "valueBoolean": true - } - ], - "path": "MedicationRequest.extension", - "sliceName": "medicationAdherence", - "short": "\ud835\uddd4\ud835\uddd7\ud835\uddd7\ud835\udddc\ud835\udde7\ud835\udddc\ud835\udde2\ud835\udde1\ud835\uddd4\ud835\udddf \ud835\udde8\ud835\udde6\ud835\uddd6\ud835\uddd7\ud835\udddc: US Core Medication Adherence Extension", - "min": 0, - "max": "*", - "type": [ - { - "code": "Extension", - "profile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication-adherence" - ] - } - ], - "mustSupport": false - }, - { - "id": "MedicationRequest.status", - "path": "MedicationRequest.status", - "mustSupport": true, - "binding": { - "strength": "required", - "description": "A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.", - "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-status" - }, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "MedicationOrder.status" - } - ] - }, - { - "id": "MedicationRequest.intent", - "path": "MedicationRequest.intent", - "condition": [ - "us-core-21" - ], - "mustSupport": true, - "binding": { - "strength": "required", - "description": "The kind of medication order.", - "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-intent" - }, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "MedicationOrder.status" - } - ] - }, - { - "id": "MedicationRequest.category", - "path": "MedicationRequest.category", - "slicing": { - "discriminator": [ - { - "type": "pattern", - "path": "$this" - } - ], - "rules": "open" - }, - "mustSupport": true - }, - { - "id": "MedicationRequest.category:us-core", - "path": "MedicationRequest.category", - "sliceName": "us-core", - "mustSupport": true, - "binding": { - "strength": "required", - "description": "The type of medication order. Note that other codes are permitted, see [Required Bindings When Slicing by Value Sets](http://hl7.org/fhir/us/core/general-requirements.html#required-bindings-when-slicing-by-valuesets)", - "valueSet": "http://hl7.org/fhir/ValueSet/medicationrequest-category" - } - }, - { - "id": "MedicationRequest.reported[x]", - "path": "MedicationRequest.reported[x]", - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": true - } - ], - "code": "boolean" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": true - } - ], - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" - ], - "_targetProfile": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": true - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - } - ] - } - ], - "mustSupport": true, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "MedicationOrder.status" - } - ] - }, - { - "id": "MedicationRequest.medication[x]", - "path": "MedicationRequest.medication[x]", - "type": [ - { - "code": "CodeableConcept" - }, - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" - ] - } - ], - "mustSupport": true, - "binding": { - "strength": "extensible", - "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4" - }, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "MedicationOrder.medication[x]" - } - ] - }, - { - "id": "MedicationRequest.subject", - "path": "MedicationRequest.subject", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" - ] - } - ], - "mustSupport": true, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "MedicationOrder.patient" - } - ] - }, - { - "id": "MedicationRequest.encounter", - "path": "MedicationRequest.encounter", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - } - ], - "mustSupport": true, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "NA" - } - ] - }, - { - "id": "MedicationRequest.authoredOn", - "path": "MedicationRequest.authoredOn", - "mustSupport": true, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "MedicationOrder.dateWritten" - } - ] - }, - { - "id": "MedicationRequest.requester", - "path": "MedicationRequest.requester", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson", - "http://hl7.org/fhir/StructureDefinition/Device" - ], - "_targetProfile": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": true - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - } - ] - } - ], - "condition": [ - "us-core-21" - ], - "mustSupport": true, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "MedicationOrder.prescriber" - } - ] - }, - { - "id": "MedicationRequest.reasonCode", - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement", - "valueBoolean": true - } - ], - "path": "MedicationRequest.reasonCode", - "short": "\ud835\uddd4\ud835\uddd7\ud835\uddd7\ud835\udddc\ud835\udde7\ud835\udddc\ud835\udde2\ud835\udde1\ud835\uddd4\ud835\udddf \ud835\udde8\ud835\udde6\ud835\uddd6\ud835\uddd7\ud835\udddc: Reason or indication for ordering or not ordering the medication", - "binding": { - "strength": "extensible", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code" - } - }, - { - "id": "MedicationRequest.reasonReference", - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement", - "valueBoolean": true - } - ], - "path": "MedicationRequest.reasonReference", - "short": "\ud835\uddd4\ud835\uddd7\ud835\uddd7\ud835\udddc\ud835\udde7\ud835\udddc\ud835\udde2\ud835\udde1\ud835\uddd4\ud835\udddf \ud835\udde8\ud835\udde6\ud835\uddd6\ud835\uddd7\ud835\udddc: US Core Condition or Observation that supports the prescription" - }, - { - "id": "MedicationRequest.dosageInstruction", - "path": "MedicationRequest.dosageInstruction", - "mustSupport": true - }, - { - "id": "MedicationRequest.dosageInstruction.text", - "path": "MedicationRequest.dosageInstruction.text", - "mustSupport": true - }, - { - "id": "MedicationRequest.dosageInstruction.timing", - "path": "MedicationRequest.dosageInstruction.timing", - "mustSupport": true - }, - { - "id": "MedicationRequest.dosageInstruction.doseAndRate", - "path": "MedicationRequest.dosageInstruction.doseAndRate", - "mustSupport": true - }, - { - "id": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]", - "path": "MedicationRequest.dosageInstruction.doseAndRate.dose[x]", - "short": "Amount of medication per dose", - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": true - } - ], - "code": "Quantity" - }, - { - "code": "Range" - } - ], - "mustSupport": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", - "valueCanonical": "http://hl7.org/fhir/ValueSet/ucum-units" - } - ], - "strength": "preferred", - "valueSet": "http://hl7.org/fhir/ValueSet/ucum-common" - } - }, - { - "id": "MedicationRequest.dispenseRequest", - "path": "MedicationRequest.dispenseRequest", - "mustSupport": true - }, - { - "id": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", - "path": "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed", - "mustSupport": true - }, - { - "id": "MedicationRequest.dispenseRequest.quantity", - "path": "MedicationRequest.dispenseRequest.quantity", - "mustSupport": true - } - ] - } -} \ No newline at end of file diff --git a/input/resources/StructureDefinition-us-core-observation-lab.json b/input/resources/StructureDefinition-us-core-observation-lab.json deleted file mode 100644 index fd9f0bfe..00000000 --- a/input/resources/StructureDefinition-us-core-observation-lab.json +++ /dev/null @@ -1,176 +0,0 @@ -{ - "resourceType": "StructureDefinition", - "id": "us-core-observation-lab", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab", - "name": "USCoreLaboratoryResultObservationProfile", - "title": "US Core Laboratory Result Observation Profile", - "status": "active", - "experimental": false, - "date": "2023-10-20", - "description": "The US Core Laboratory Result Observation Profile is based upon the US Core Observation Clinical Result Profile and, along with the US Core DiagnosticReport Profile for Laboratory Results Reporting, meets the U.S. Core Data for Interoperability (USCDI) Laboratory requirements. Laboratory results are grouped and summarized using the DiagnosticReport resource, which references Observation resources. Each Observation resource represents an individual laboratory test and result value, a \u201cnested\u201d panel (such as a microbial susceptibility panel) that references other observations, or rarely a laboratory test with component result values. The US Core Laboratory Result Observation Profile sets minimum expectations for the Observation resource to record, search, and fetch laboratory test results associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies, and value sets SHALL be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.", - "fhirVersion": "4.0.1", - "kind": "resource", - "abstract": false, - "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result", - "derivation": "constraint", - "differential": { - "element": [ - { - "id": "Observation.category:us-core", - "path": "Observation.category", - "sliceName": "us-core", - "min": 1, - "max": "1", - "patternCodeableConcept": { - "coding": [ - { - "system": "http://terminology.hl7.org/CodeSystem/observation-category", - "code": "laboratory" - } - ] - }, - "mustSupport": true, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "Observation.category" - } - ] - }, - { - "id": "Observation.code", - "path": "Observation.code", - "short": "Laboratory Test Name", - "mustSupport": true, - "binding": { - "strength": "extensible", - "description": "Laboratory LOINC Codes", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-laboratory-test-codes" - }, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "Observation.code" - } - ] - }, - { - "id": "Observation.value[x]", - "path": "Observation.value[x]", - "short": "Result Value", - "definition": "The Laboratory result value. If a coded value, the valueCodeableConcept.code **SHOULD** be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults) if the concept exists. If a numeric value, valueQuantity.code **SHALL** be selected from [UCUM](http://unitsofmeasure.org). A FHIR [UCUM Codes value set](http://hl7.org/fhir/STU3/valueset-ucum-units.html) that defines all UCUM codes is in the FHIR specification.", - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": true - } - ], - "code": "Quantity" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": true - } - ], - "code": "CodeableConcept" - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": true - } - ], - "code": "string" - }, - { - "code": "boolean" - }, - { - "code": "integer" - }, - { - "code": "Range" - }, - { - "code": "Ratio" - }, - { - "code": "SampledData" - }, - { - "code": "time" - }, - { - "code": "dateTime" - }, - { - "code": "Period" - } - ], - "condition": [ - "us-core-4" - ], - "constraint": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice", - "valueBoolean": true - } - ], - "key": "us-core-4", - "severity": "warning", - "human": "SHOULD use Snomed CT for coded Results", - "expression": "ofType(CodeableConcept).coding.system.empty() or (ofType(CodeableConcept).coding.system contains 'http://snomed.info/sct')", - "xpath": "not(exists(f:valueCodeableConcept/f:coding/f:system) ) or f:valueCodeableConcept/f:coding/f:system[@value='http://snomed.info/sct']" - } - ], - "mustSupport": true, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "Observation.value[x]" - } - ] - }, - { - "id": "Observation.interpretation", - "path": "Observation.interpretation", - "short": "Result interpretation", - "comment": "Categorical assessment of a laboratory value, often in relation to a test's reference range. Examples include but are not limited to high, low, critical, and normal.", - "mustSupport": true, - "binding": { - "strength": "extensible", - "description": "Observation Interpretation Codes", - "valueSet": "http://hl7.org/fhir/ValueSet/observation-interpretation" - } - }, - { - "id": "Observation.specimen", - "path": "Observation.specimen", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen" - ] - } - ], - "mustSupport": true - }, - { - "id": "Observation.referenceRange", - "path": "Observation.referenceRange", - "short": "Result reference range", - "comment": "Upper and lower limit of test values expected for a designated population of individuals. Reference range values may differ by patient characteristics, laboratory test manufacturer and laboratory test performer.", - "mustSupport": true - } - ] - } -} \ No newline at end of file diff --git a/input/resources/StructureDefinition-us-core-patient.json b/input/resources/StructureDefinition-us-core-patient.json index 5ec9cdcc..cff6a491 100644 --- a/input/resources/StructureDefinition-us-core-patient.json +++ b/input/resources/StructureDefinition-us-core-patient.json @@ -6,7 +6,7 @@ "title": "US Core Patient Profile", "status": "active", "experimental": false, - "date": "2023-10-20", + "date": "2023-10-17", "description": "The US Core Patient Profile meets the U.S. Core Data for Interoperability (USCDI) v3 'Patient Demographics' requirements. This profile sets minimum expectations for the Patient resource to record, search, and fetch basic demographics and other administrative information about an individual patient. It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource when using this profile to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.", "fhirVersion": "4.0.1", "kind": "resource", @@ -442,6 +442,22 @@ { "id": "Patient.address.line", "path": "Patient.address.line", + "example": [ + { + "label": "General", + "valueString": "49 MEADOW ST" + } + ], + "_example": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-suppress", + "valueBoolean": true + } + ] + } + ], "mustSupport": true, "mapping": [ { @@ -453,6 +469,12 @@ { "id": "Patient.address.city", "path": "Patient.address.city", + "example": [ + { + "label": "General", + "valueString": "EVERYTOWN" + } + ], "mustSupport": true, "mapping": [ { @@ -464,6 +486,12 @@ { "id": "Patient.address.state", "path": "Patient.address.state", + "example": [ + { + "label": "General", + "valueString": "OK" + } + ], "mustSupport": true, "binding": { "strength": "extensible", @@ -484,6 +512,12 @@ "alias": [ "Zip Code" ], + "example": [ + { + "label": "General", + "valueString": "74047" + } + ], "mustSupport": true, "mapping": [ { diff --git a/input/resources/StructureDefinition-us-core-procedure.json b/input/resources/StructureDefinition-us-core-procedure.json deleted file mode 100644 index 3a56aec3..00000000 --- a/input/resources/StructureDefinition-us-core-procedure.json +++ /dev/null @@ -1,169 +0,0 @@ -{ - "resourceType": "StructureDefinition", - "id": "us-core-procedure", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure", - "name": "USCoreProcedureProfile", - "title": "US Core Procedure Profile", - "status": "active", - "experimental": false, - "date": "2023-10-20", - "publisher": "HL7 US Realm Steering Committee", - "description": "The US Core Procedure Profile is based upon the core FHIR Procedure Resource and meets the U.S. Core Data for Interoperability (USCDI) v2 'Procedures' requirements. This profile sets minimum expectations for the Procedure resource to record, search, and fetch procedures associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.", - "fhirVersion": "4.0.1", - "kind": "resource", - "abstract": false, - "type": "Procedure", - "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Procedure", - "derivation": "constraint", - "differential": { - "element": [ - { - "id": "Procedure", - "path": "Procedure", - "definition": "\\-", - "comment": "\\-", - "constraint": [ - { - "key": "us-core-7", - "severity": "error", - "human": "Performed SHALL be present if the status is 'completed' or 'in-progress'", - "expression": "(status='completed' or status='in-progress') implies performed.exists()" - } - ], - "mustSupport": false, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "Procedure" - } - ] - }, - { - "id": "Procedure.basedOn", - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement", - "valueBoolean": true - } - ], - "path": "Procedure.basedOn", - "short": "\ud835\uddd4\ud835\uddd7\ud835\uddd7\ud835\udddc\ud835\udde7\ud835\udddc\ud835\udde2\ud835\udde1\ud835\uddd4\ud835\udddf \ud835\udde8\ud835\udde6\ud835\uddd6\ud835\uddd7\ud835\udddc: A request for this procedure", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest" - ] - } - ], - "mustSupport": false - }, - { - "id": "Procedure.status", - "path": "Procedure.status", - "condition": [ - "us-core-7" - ], - "mustSupport": true, - "binding": { - "strength": "required", - "valueSet": "http://hl7.org/fhir/ValueSet/event-status" - }, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "Procedure.status" - } - ] - }, - { - "id": "Procedure.code", - "path": "Procedure.code", - "min": 1, - "mustSupport": true, - "binding": { - "strength": "extensible", - "description": "Codes describing the type of Procedure", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-code" - }, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "Procedure.code" - } - ] - }, - { - "id": "Procedure.subject", - "path": "Procedure.subject", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" - ] - } - ], - "mustSupport": true, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "Procedure.subject" - } - ] - }, - { - "id": "Procedure.encounter", - "path": "Procedure.encounter", - "short": "Encounter associated with the procedure", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" - ] - } - ], - "mustSupport": true - }, - { - "id": "Procedure.performed[x]", - "path": "Procedure.performed[x]", - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": true - } - ], - "code": "dateTime" - }, - { - "code": "Period" - }, - { - "code": "string" - }, - { - "code": "Age" - }, - { - "code": "Range" - } - ], - "condition": [ - "us-core-7" - ], - "mustSupport": true, - "mapping": [ - { - "identity": "argonaut-dq-dstu2", - "map": "Procedure.performed[x]" - } - ] - } - ] - } -} \ No newline at end of file diff --git a/input/resources/StructureDefinition-us-core-specimen.json b/input/resources/StructureDefinition-us-core-specimen.json deleted file mode 100644 index dc5f74a7..00000000 --- a/input/resources/StructureDefinition-us-core-specimen.json +++ /dev/null @@ -1,101 +0,0 @@ -{ - "resourceType": "StructureDefinition", - "id": "us-core-specimen", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-specimen", - "name": "USCoreSpecimenProfile", - "title": "US Core Specimen Profile", - "status": "active", - "experimental": false, - "date": "2023-10-20", - "description": "This profile sets minimum expectations for the Specimen resource to record, search, and fetch \"substances being sampled or tested. (e.g., nasopharyngeal swab, whole blood, serum, urine, wound swab)\" associated with a patient to promote interoperability and adoption through common implementation. It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases.", - "fhirVersion": "4.0.1", - "kind": "resource", - "abstract": false, - "type": "Specimen", - "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Specimen", - "derivation": "constraint", - "differential": { - "element": [ - { - "id": "Specimen", - "path": "Specimen", - "definition": "\\-", - "comment": "\\-", - "mustSupport": false - }, - { - "id": "Specimen.identifier", - "path": "Specimen.identifier", - "short": "Specimen identifier", - "mustSupport": true - }, - { - "id": "Specimen.type", - "path": "Specimen.type", - "min": 1, - "mustSupport": true, - "binding": { - "strength": "extensible", - "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.54" - } - }, - { - "id": "Specimen.subject", - "path": "Specimen.subject", - "short": "The patient where the specimen came from.", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" - ] - } - ], - "mustSupport": true - }, - { - "id": "Specimen.collection", - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement", - "valueBoolean": true - } - ], - "path": "Specimen.collection", - "short": "\ud835\uddd4\ud835\uddd7\ud835\uddd7\ud835\udddc\ud835\udde7\ud835\udddc\ud835\udde2\ud835\udde1\ud835\uddd4\ud835\udddf \ud835\udde8\ud835\udde6\ud835\uddd6\ud835\uddd7\ud835\udddc: Collection details" - }, - { - "id": "Specimen.collection.bodySite", - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement", - "valueBoolean": true - } - ], - "path": "Specimen.collection.bodySite", - "short": "\ud835\uddd4\ud835\uddd7\ud835\uddd7\ud835\udddc\ud835\udde7\ud835\udddc\ud835\udde2\ud835\udde1\ud835\uddd4\ud835\udddf \ud835\udde8\ud835\udde6\ud835\uddd6\ud835\uddd7\ud835\udddc: Specimen Source Site", - "comment": "Body location from where a specimen was obtained. Examples include but are not limited to right internal jugular, left arm, and right eye.", - "binding": { - "strength": "extensible", - "valueSet": "http://hl7.org/fhir/ValueSet/body-site" - } - }, - { - "id": "Specimen.condition", - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement", - "valueBoolean": true - } - ], - "path": "Specimen.condition", - "short": "\ud835\uddd4\ud835\uddd7\ud835\uddd7\ud835\udddc\ud835\udde7\ud835\udddc\ud835\udde2\ud835\udde1\ud835\uddd4\ud835\udddf \ud835\udde8\ud835\udde6\ud835\uddd6\ud835\uddd7\ud835\udddc: Specimen condition acceptability", - "comment": "Information regarding a specimen, including the container, that does not meet a laboratory's criteria for acceptability. Examples include but are not limited to hemolyzed, clotted, container leaking, and missing patient name. This may include information about the contents of the container, the container, and the label.", - "binding": { - "strength": "extensible", - "valueSet": "http://terminology.hl7.org/ValueSet/v2-0493" - } - } - ] - } -} \ No newline at end of file diff --git a/input/resources/StructureDefinition-us-core-treatment-intervention-preference.json b/input/resources/StructureDefinition-us-core-treatment-intervention-preference.json deleted file mode 100644 index 9ebf32d5..00000000 --- a/input/resources/StructureDefinition-us-core-treatment-intervention-preference.json +++ /dev/null @@ -1,90 +0,0 @@ -{ - "resourceType": "StructureDefinition", - "id": "us-core-treatment-intervention-preference", - "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-treatment-intervention-preference", - "version": "3.2.0", - "name": "USCoreTreatmentInterventionPreferenceProfile", - "title": "US Core Treatment Intervention Preference Profile", - "status": "active", - "experimental": false, - "date": "2023-10-20", - "description": "To promote interoperability and adoption through common implementation, this profile sets minimum expectations for the Observation resource to record, search, and fetch for a patient's treatment intervention preferences. It is based on the US Core Simple Profile and identifies which *additional* core elements, extensions, vocabularies, and value sets **SHALL** be present and constrains the way the elements are used when using the profile. It provides the floor for standards development for specific use cases.", - "copyright": "Used by permission of HL7 International, all rights reserved Creative Commons License", - "fhirVersion": "4.0.1", - "kind": "resource", - "abstract": false, - "type": "Observation", - "baseDefinition": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-simple-observation", - "derivation": "constraint", - "differential": { - "element": [ - { - "id": "Observation", - "path": "Observation", - "short": "US Core Treatment Intervention Preference Profile", - "definition": "\\-", - "comment": "\\-" - }, - { - "id": "Observation.category:us-core", - "path": "Observation.category", - "sliceName": "us-core", - "min": 0, - "max": "1", - "patternCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-category", - "code": "treatment-intervention-preference" - } - ] - }, - "mustSupport": true - }, - { - "id": "Observation.code", - "path": "Observation.code", - "short": "Treatment intervention preferences code", - "type": [ - { - "code": "CodeableConcept" - } - ], - "patternCodeableConcept": { - "coding": [ - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/us-core-category", - "code": "treatment-intervention-preference" - } - ] - }, - "mustSupport": true - }, - { - "id": "Observation.derivedFrom", - "extension": [ - { - "url": "http://hl7.org/fhir/us/core/StructureDefinition/uscdi-requirement", - "valueBoolean": true - } - ], - "path": "Observation.derivedFrom", - "short": "\ud835\uddd4\ud835\uddd7\ud835\uddd7\ud835\udddc\ud835\udde7\ud835\udddc\ud835\udde2\ud835\udde1\ud835\uddd4\ud835\udddf \ud835\udde8\ud835\udde6\ud835\uddd6\ud835\uddd7\ud835\udddc: US Core Profiles or other resource the observation is made from", - "definition": "US Core Observations, DocumentReference, QuestionnaireResponse or other resource from which this observation value is derived.", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference", - "http://hl7.org/fhir/StructureDefinition/Observation", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse", - "http://hl7.org/fhir/StructureDefinition/ImagingStudy", - "http://hl7.org/fhir/StructureDefinition/Media", - "http://hl7.org/fhir/StructureDefinition/MolecularSequence" - ] - } - ] - } - ] - } -} \ No newline at end of file diff --git a/input/resources/StructureDefinition-uscore-medicationstatement.json b/input/resources/StructureDefinition-uscore-medicationstatement.json deleted file mode 100644 index 02593a7d..00000000 --- a/input/resources/StructureDefinition-uscore-medicationstatement.json +++ /dev/null @@ -1,266 +0,0 @@ -{ - "resourceType": "StructureDefinition", - "id": "us-core-medicationstatement", - "url": "http://www.fhir.org/guides/uscdi4-sandbox/StructureDefinition/us-core-medicationstatement", - "name": "USCoreMedicationStatement", - "title": "US Core MedicationStatement", - "status": "active", - "experimental": false, - "date": "2023-10-12", - "description": "Profile of MedicationStatement to support medication adherence - record of a statement of whether a medication has been consumed according to instructions.\nThis profile sets minimum expectations for the MedicationStatement resource to record, search, and fetch a record of a statement of whether a medication has been consumed according to instructions. It identifies which core elements, extensions, vocabularies, and value sets **SHALL** be present in the resource and constrains the way the elements are used when using this profile. It provides the floor for standards development for specific use cases to promote interoperability and adoption through common implementation.", - "fhirVersion": "4.0.1", - "kind": "resource", - "abstract": false, - "type": "MedicationStatement", - "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationStatement", - "derivation": "constraint", - "differential": { - "element": [ - { - "id": "MedicationStatement", - "path": "MedicationStatement", - "mustSupport": false - }, - { - "id": "MedicationStatement.extension:med-adherence", - "path": "MedicationStatement.extension", - "sliceName": "med-adherence", - "short": "Indicates whether the medication is or is not being consumed or administered", - "definition": "The FHIR R5 `Medication.adherence` extension to record medication adherence", - "min": 0, - "max": "1", - "type": [ - { - "code": "Extension", - "profile": [ - "http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationUsage.adherence" - ] - } - ], - "mustSupport": false - }, - { - "id": "MedicationStatement.basedOn", - "path": "MedicationStatement.basedOn", - "short": "plan, proposal or order this is fulfilling", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-servicerequest" - ], - "_targetProfile": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": true - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - } - ] - } - ], - "mustSupport": true - }, - { - "id": "MedicationStatement.status", - "path": "MedicationStatement.status", - "mustSupport": true, - "binding": { - "strength": "required", - "valueSet": "http://www.fhir.org/guides/uscdi4-sandbox/ValueSet/uscore-medicationstatement-status" - } - }, - { - "id": "MedicationStatement.medication[x]", - "path": "MedicationStatement.medication[x]", - "short": "Medication taken", - "type": [ - { - "code": "CodeableConcept" - }, - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" - ] - } - ], - "mustSupport": true, - "binding": { - "strength": "extensible", - "valueSet": "http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1010.4" - } - }, - { - "id": "MedicationStatement.subject", - "path": "MedicationStatement.subject", - "short": "Who is/was taking the medication", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" - ] - } - ], - "mustSupport": true - }, - { - "id": "MedicationStatement.effective[x]", - "path": "MedicationStatement.effective[x]", - "mustSupport": true - }, - { - "id": "MedicationStatement.dateAsserted", - "path": "MedicationStatement.dateAsserted", - "short": "When the statement was asserted", - "mustSupport": true - }, - { - "id": "MedicationStatement.informationSource", - "path": "MedicationStatement.informationSource", - "type": [ - { - "code": "Reference", - "targetProfile": [ - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitionerrole", - "http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson" - ], - "_targetProfile": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": true - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": true - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - }, - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": false - } - ] - } - ] - } - ], - "mustSupport": true - }, - { - "id": "MedicationStatement.reasonCode", - "path": "MedicationStatement.reasonCode", - "binding": { - "strength": "extensible", - "valueSet": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-code" - } - }, - { - "id": "MedicationStatement.reasonReference", - "path": "MedicationStatement.reasonReference" - }, - { - "id": "MedicationStatement.dosage", - "path": "MedicationStatement.dosage", - "short": "How the medication should be taken", - "mustSupport": true - }, - { - "id": "MedicationStatement.dosage.text", - "path": "MedicationStatement.dosage.text", - "short": "Free text dosage instructions e.g. SIG", - "mustSupport": true - }, - { - "id": "MedicationStatement.dosage.timing", - "path": "MedicationStatement.dosage.timing", - "short": "When medication should be administered", - "mustSupport": true - }, - { - "id": "MedicationStatement.dosage.doseAndRate", - "path": "MedicationStatement.dosage.doseAndRate", - "short": "Amount of medication administered", - "mustSupport": true - }, - { - "id": "MedicationStatement.dosage.doseAndRate.dose[x]", - "path": "MedicationStatement.dosage.doseAndRate.dose[x]", - "short": "Amount of medication per dose", - "type": [ - { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-type-must-support", - "valueBoolean": true - } - ], - "code": "Quantity" - }, - { - "code": "Range" - } - ], - "mustSupport": true, - "binding": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", - "valueCanonical": "http://hl7.org/fhir/ValueSet/ucum-units" - } - ], - "strength": "preferred", - "valueSet": "http://hl7.org/fhir/ValueSet/ucum-common" - } - } - ] - } -} \ No newline at end of file diff --git a/input/resources/ValueSet-uscore-care-experience-preference.json b/input/resources/ValueSet-uscore-care-experience-preference.json deleted file mode 100644 index dd0455a4..00000000 --- a/input/resources/ValueSet-uscore-care-experience-preference.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "resourceType": "ValueSet", - "id": "uscore-care-experience-preference", - "url": "http://www.fhir.org/guides/uscdi4-sandbox/ValueSet/uscore-care-experience-preference", - "version": "4.0.1", - "name": "USCoreCareExperiencePreference", - "title": "US Core Care Experience Preference Codes", - "status": "draft", - "experimental": false, - "date": "2023-08-15", - "description": "A code representing an individual's care experience preferences.", - "compose": { - "include": [ - { - "system": "http://loinc.org", - "concept": [ - { - "code": "95541-9", - "display": "Care experience preference" - } - ] - } - ] - } -} \ No newline at end of file diff --git a/input/resources/ValueSet-uscore-common-sdoh-assessments.json b/input/resources/ValueSet-uscore-common-sdoh-assessments.json deleted file mode 100644 index defec1c3..00000000 --- a/input/resources/ValueSet-uscore-common-sdoh-assessments.json +++ /dev/null @@ -1,79 +0,0 @@ -{ - "resourceType": "ValueSet", - "id": "uscore-common-sdoh-assessments", - "url": "http://hl7.org/fhir/us/core/ValueSet/uscore-common-sdoh-assessments", - "version": "4.1.0", - "name": "USCoreCommonSDOHAssessments", - "title": "US Core Common SDOH Assessments ValueSet", - "status": "active", - "experimental": true, - "date": "2021-11-15", - "description": "Common SDOH assessment concepts covering the following categories (Gravity Project SDOH Domains):\n - Food (Food Insecurity)\n - Housing (Housing Instability)\n - Health (Social Connection, Stress)\n - Employment (Employment Status)\n - Care (SDOH Category Unspecified)\n - Transit (Transportation Insecurity)\n - Money (Financial Insecurity)\n - Goods (Material Hardship)\n - Education (SDOH Category Unspecified)\n - Legal (SDOH Category Unspecified)", - "copyright": "This material contains content from LOINC (http://loinc.org). LOINC is copyright \u00a9 1995-2020, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC\u00ae is a registered United States trademark of Regenstrief Institute, Inc", - "compose": { - "include": [ - { - "system": "http://loinc.org", - "concept": [ - { - "code": "88123-5" - }, - { - "code": "88122-7" - }, - { - "code": "96779-4" - }, - { - "code": "71802-3" - }, - { - "code": "93029-7" - }, - { - "code": "76437-3" - }, - { - "code": "81375-8" - }, - { - "code": "93038-8" - }, - { - "code": "96780-2" - }, - { - "code": "67875-5" - }, - { - "code": "95618-5" - }, - { - "code": "93031-3" - }, - { - "code": "93030-5" - }, - { - "code": "63586-2" - }, - { - "code": "93031-3" - }, - { - "code": "93031-3" - }, - { - "code": "93031-3" - }, - { - "code": "96782-8" - }, - { - "code": "93677-3" - } - ] - } - ] - } -} \ No newline at end of file diff --git a/input/resources/ValueSet-uscore-medicationstatement-status.json b/input/resources/ValueSet-uscore-medicationstatement-status.json deleted file mode 100644 index a2f42f1a..00000000 --- a/input/resources/ValueSet-uscore-medicationstatement-status.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "resourceType": "ValueSet", - "id": "uscore-medicationstatement-status", - "url": "http://www.fhir.org/guides/uscdi4-sandbox/ValueSet/uscore-medicationstatement-status", - "version": "4.0.1", - "name": "USCoreMedicationstatementStatus", - "title": "US Core Medication Status Codes", - "status": "draft", - "experimental": false, - "date": "2023-08-15", - "description": "A code specifying the state of the statement. Generally, this will be active or completed state. This value set excludes the concept used internally by the FHIR specification, not-taken,on-hold,stopped, and unknown, because they are covered by the medication adherence extension.", - "compose": { - "include": [ - { - "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status" - } - ], - "exclude": [ - { - "system": "http://hl7.org/fhir/CodeSystem/medication-statement-status", - "concept": [ - { - "code": "not-taken" - }, - { - "code": "on-hold" - }, - { - "code": "stopped" - }, - { - "code": "unknown" - } - ] - } - ] - } -} \ No newline at end of file diff --git a/input/resources/ValueSet-uscore-pa-codes.json b/input/resources/ValueSet-uscore-pa-codes.json deleted file mode 100644 index baa109f8..00000000 --- a/input/resources/ValueSet-uscore-pa-codes.json +++ /dev/null @@ -1,64 +0,0 @@ -{ - "resourceType": "ValueSet", - "id": "uscore-pa-codes", - "url": "http://hl7.org/fhir/us/core/ValueSet/uscore-pa-codes", - "name": "USCorePaCodesValueSet", - "title": "US Core PA Codes ValueSet", - "status": "draft", - "experimental": true, - "date": "2023-10-30", - "description": "A starter set of Physical Activity codes based off the [Physical activity IG](https://hl7.org/fhir/us/physical-activity/)", - "compose": { - "include": [ - { - "system": "http://loinc.org", - "concept": [ - { - "code": "73985-4", - "display": "Exercise activity" - }, - { - "code": "55411-3", - "display": "Exercise duration" - }, - { - "code": "77592-4", - "display": "Moderate physical activity [IPAQ]" - }, - { - "code": "77593-2", - "display": "Vigorous physical activity [IPAQ]" - }, - { - "code": "55426-1", - "display": "Heart rate unspecified time maximum by Pedometer" - }, - { - "code": "55425-3", - "display": "Heart rate unspecified time mean by Pedometer" - }, - { - "code": "55424-6", - "display": "Calories burned in unspecified time Pedometer" - }, - { - "code": "89555-7", - "display": "How many days per week did you engage in moderate to strenuous physical activity in the last 30 days" - }, - { - "code": "68516-4", - "display": "On those days that you engage in moderate to strenuous exercise, how many minutes, on average, do you exercise" - }, - { - "code": "82290-8", - "display": "Frequency of moderate to vigorous aerobic physical activity" - }, - { - "code": "82291-6", - "display": "Frequency of muscle-strengthening physical activity" - } - ] - } - ] - } -} \ No newline at end of file diff --git a/input/resources/ValueSet-uscore-treatment-intervention-preference.json b/input/resources/ValueSet-uscore-treatment-intervention-preference.json deleted file mode 100644 index ae56c5e8..00000000 --- a/input/resources/ValueSet-uscore-treatment-intervention-preference.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "resourceType": "ValueSet", - "id": "uscore-treatment-intervention-preference", - "url": "http://hl7.org/fhir/us/core/ValueSet/uscore-treatment-intervention-preference", - "name": "USCoreTreatmentInterventionPreferencValueSet", - "title": "US Core Treatment Intervention Preference ValueSet", - "status": "draft", - "experimental": false, - "date": "2023-10-02", - "description": "A code representing an individual's medical intervention (treatment) preferences.", - "compose": { - "include": [ - { - "valueSet": [ - "https://cts.nlm.nih.gov/fhir/res/ValueSet/2.16.840.1.113762.1.4.1115.9" - ] - }, - { - "system": "http://hl7.org/fhir/us/core/CodeSystem/uscore-treatment-intervention-preference", - "concept": [ - { - "code": "intervention-preference", - "display": "Intervention preference" - } - ] - } - ] - } -} \ No newline at end of file