HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE) Release 1 - US Realm | STU Ballot 1

HL7 FHIR Implementation Guide: minimal Common Oncology Data Elements (mCODE) Release 1 - US Realm | STU Ballot 1 - Local Development build (v0.9.1). See the Directory of published versions

ComprehensiveMetabolic2000SerumOrPlasmaPanel

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureDefinition;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "obf-lab-ComprehensiveMetabolic2000SerumOrPlasmaPanel"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>ComprehensiveMetabolic2000SerumOrPlasmaPanel Profile</b></p>\n  <p>Represents a comprehensive metabolic 2000 panel (CMP) from serum or plasma, which measures various components such as glucose, electrolytes, kidney function, and liver function. The components of this panel are not entirely standardized, so the definition of the CMP includes tests that are optional, or performed by certain laboratories but not others. Therefore, instances typically will include a subset of the listed panel members.</p>\n  <p><b>Mapping Summary</b></p>\n  <p><pre>obf.lab.ComprehensiveMetabolic2000SerumOrPlasmaPanel maps to http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab:\n  Language maps to language\n  ImplicitRules maps to implicitRules\n  Metadata.VersionId maps to meta.versionId\n  Metadata.SourceSystem maps to meta.source\n  Metadata.Profile maps to meta.profile\n  Metadata.LastUpdated maps to meta.lastUpdated\n  Metadata.SecurityLabel maps to meta.security\n  Metadata.Tag maps to meta.tag\n  Narrative maps to text\n  Identifier maps to identifier\n  BasedOn maps to basedOn\n  Status maps to status\n  Category maps to category\n  ObservationSubjectOfRecord maps to subject\n  Code maps to code\n  CareContext maps to encounter\n  RelevantTime maps to effective[x]\n  StatementDateTime maps to issued\n  DiagnosticReportPerformer maps to performer\n  ResultsInterpreter maps to resultsInterpreter\n  Specimen maps to specimen\n  LaboratoryObservation maps to result (slice on = $this.resolve().code.coding.code; slice strategy = includes)\n  MediaIncluded.CommentOrDescription maps to media.comment\n  MediaIncluded.Media maps to media.link\n  ConclusionText maps to conclusion\n  ConclusionCode maps to conclusionCode\n  PresentedForm maps to presentedForm\n</pre></p>\n</div>"
  ];
  fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-ComprehensiveMetabolic2000SerumOrPlasmaPanel"];
  fhir:StructureDefinition.version [ fhir:value "0.9.1"];
  fhir:StructureDefinition.name [ fhir:value "ComprehensiveMetabolic2000SerumOrPlasmaPanel"];
  fhir:StructureDefinition.title [ fhir:value "obf-lab-ComprehensiveMetabolic2000SerumOrPlasmaPanel"];
  fhir:StructureDefinition.status [ fhir:value "active"];
  fhir:StructureDefinition.experimental [ fhir:value "false"^^xsd:boolean];
  fhir:StructureDefinition.date [ fhir:value "2019-08-01T00:00:00-04:00"^^xsd:dateTime];
  fhir:StructureDefinition.publisher [ fhir:value "HL7 International Clinical Interoperability Council"];
  fhir:StructureDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://www.hl7.org/Special/committees/cic" ]     ]
  ];
  fhir:StructureDefinition.description [ fhir:value "Represents a comprehensive metabolic 2000 panel (CMP) from serum or plasma, which measures various components such as glucose, electrolytes, kidney function, and liver function. The components of this panel are not entirely standardized, so the definition of the CMP includes tests that are optional, or performed by certain laboratories but not others. Therefore, instances typically will include a subset of the listed panel members."];
  fhir:StructureDefinition.jurisdiction [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ];
       fhir:Coding.code [ fhir:value "US" ];
       fhir:Coding.display [ fhir:value "United States of America" ]     ]
  ];
  fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.0"];
  fhir:StructureDefinition.mapping [
     fhir:index 0;
     fhir:StructureDefinition.mapping.identity [ fhir:value "workflow" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/workflow" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "Workflow Pattern" ]
  ], [
     fhir:index 1;
     fhir:StructureDefinition.mapping.identity [ fhir:value "v2" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v2" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "HL7 v2 Mapping" ]
  ], [
     fhir:index 2;
     fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ]
  ], [
     fhir:index 3;
     fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/fivews" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "FiveWs Pattern Mapping" ]
  ];
  fhir:StructureDefinition.kind [ fhir:value "resource"];
  fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean];
  fhir:StructureDefinition.type [ fhir:value "DiagnosticReport"];
  fhir:StructureDefinition.baseDefinition [
     fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab";
     fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport-lab>
  ];
  fhir:StructureDefinition.derivation [ fhir:value "constraint"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.snapshot.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "DiagnosticReport" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport" ];
       fhir:ElementDefinition.short [ fhir:value "obf-lab-ComprehensiveMetabolic2000SerumOrPlasmaPanel" ];
       fhir:ElementDefinition.definition [ fhir:value "Represents a comprehensive metabolic 2000 panel (CMP) from serum or plasma, which measures various components such as glucose, electrolytes, kidney function, and liver function. The components of this panel are not entirely standardized, so the definition of the CMP includes tests that are optional, or performed by certain laboratories but not others. Therefore, instances typically will include a subset of the listed panel members." ];
       fhir:ElementDefinition.comment [ fhir:value "This is intended to capture a single report and is not suitable for use in displaying summary information that covers multiple reports.  For example, this resource has not been designed for laboratory cumulative reporting formats nor detailed structured reports for sequencing." ];
       fhir:ElementDefinition.alias [
         fhir:value "Report";
         fhir:index 0       ], [
         fhir:value "Test";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Results";
         fhir:index 3       ], [
         fhir:value "Labs";
         fhir:index 4       ], [
         fhir:value "Laboratory";
         fhir:index 5       ], [
         fhir:value "Lab Result";
         fhir:index 6       ], [
         fhir:value "Lab Report";
         fhir:index 7       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "dom-2" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "contained.contained.empty()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:contained)" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "DomainResource" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.constraint.key [ fhir:value "dom-4" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "DomainResource" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.constraint.key [ fhir:value "dom-3" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(for $contained in f:contained return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "DomainResource" ]       ], [
         fhir:index 3;
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ];
           fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ];
           fhir:Extension.valueMarkdown [ fhir:value "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." ]         ];
         fhir:ElementDefinition.constraint.key [ fhir:value "dom-6" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "warning" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "A resource should have narrative for robust management" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "text.div.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:text/h:div)" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "DomainResource" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.constraint.key [ fhir:value "dom-5" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a security label" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.security.empty()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:security))" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "DomainResource" ]       ], [
         fhir:index 5;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Event" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "ORU -> OBR" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Observation[classCode=OBS, moodCode=EVN]" ]       ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "DiagnosticReport.id" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.id" ];
       fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ];
       fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ];
       fhir:ElementDefinition.comment [ fhir:value "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Resource.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "id" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "DiagnosticReport.meta" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.meta" ];
       fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ];
       fhir:ElementDefinition.definition [ fhir:value "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Resource.meta" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Meta" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "DiagnosticReport.implicitRules" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.implicitRules" ];
       fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ];
       fhir:ElementDefinition.definition [ fhir:value "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ];
       fhir:ElementDefinition.comment [ fhir:value "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Resource.implicitRules" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "DiagnosticReport.language" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.language" ];
       fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ];
       fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ];
       fhir:ElementDefinition.comment [ fhir:value "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Resource.language" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ];
           fhir:Extension.valueCanonical [
             fhir:value "http://hl7.org/fhir/ValueSet/all-languages";
             fhir:link <http://hl7.org/fhir/ValueSet/all-languages>           ]         ], [
           fhir:index 1;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "Language" ]         ], [
           fhir:index 2;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ];
           fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A human language." ];
         fhir:ElementDefinition.binding.valueSet [
           fhir:value "http://hl7.org/fhir/ValueSet/languages";
           fhir:link <http://hl7.org/fhir/ValueSet/languages>         ]       ]     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "DiagnosticReport.text" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.text" ];
       fhir:ElementDefinition.short [ fhir:value "Text summary of the resource, for human interpretation" ];
       fhir:ElementDefinition.definition [ fhir:value "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ];
       fhir:ElementDefinition.comment [ fhir:value "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later." ];
       fhir:ElementDefinition.alias [
         fhir:value "narrative";
         fhir:index 0       ], [
         fhir:value "html";
         fhir:index 1       ], [
         fhir:value "xhtml";
         fhir:index 2       ], [
         fhir:value "display";
         fhir:index 3       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DomainResource.text" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Narrative" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Act.text?" ]       ]     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "DiagnosticReport.contained" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.contained" ];
       fhir:ElementDefinition.short [ fhir:value "Contained, inline Resources" ];
       fhir:ElementDefinition.definition [ fhir:value "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." ];
       fhir:ElementDefinition.comment [ fhir:value "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." ];
       fhir:ElementDefinition.alias [
         fhir:value "inline resources";
         fhir:index 0       ], [
         fhir:value "anonymous resources";
         fhir:index 1       ], [
         fhir:value "contained resources";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DomainResource.contained" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Resource" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "DiagnosticReport.extension" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "DiagnosticReport.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DomainResource.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "DiagnosticReport.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.identifier" ];
       fhir:ElementDefinition.short [ fhir:value "Business identifier for report" ];
       fhir:ElementDefinition.definition [ fhir:value "Identifiers assigned to this report by the performer or other systems." ];
       fhir:ElementDefinition.comment [ fhir:value "Usually assigned by the Information System of the diagnostic service provider (filler id)." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to know what identifier to use when making queries about this report from the source laboratory, and for linking to the report outside FHIR context." ];
       fhir:ElementDefinition.alias [
         fhir:value "ReportID";
         fhir:index 0       ], [
         fhir:value "Filler ID";
         fhir:index 1       ], [
         fhir:value "Placer ID";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.identifier" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Identifier" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Event.identifier" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.identifier" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBR-51/ for globally unique filler ID  - OBR-3 , For non-globally unique filler-id the flller/placer number must be combined with the universal service Id -  OBR-2(if present)+OBR-3+OBR-4" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "id" ]       ]     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "DiagnosticReport.basedOn" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.basedOn" ];
       fhir:ElementDefinition.short [ fhir:value "What was requested" ];
       fhir:ElementDefinition.definition [ fhir:value "Details concerning a service requested." ];
       fhir:ElementDefinition.comment [ fhir:value "Note: Usually there is one test request for each result, however in some circumstances multiple test requests may be represented using a single test result resource. Note that there are also cases where one request leads to multiple reports." ];
       fhir:ElementDefinition.requirements [ fhir:value "This allows tracing of authorization for the report and tracking whether proposals/recommendations were acted upon." ];
       fhir:ElementDefinition.alias [
         fhir:value "Request";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.basedOn" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>         ], [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest";
           fhir:index 1;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest>         ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Event.basedOn" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "ORC? OBR-2/3?" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=FLFS].target" ]       ]     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "DiagnosticReport.status" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.status" ];
       fhir:ElementDefinition.short [ fhir:value "registered | partial | preliminary | final +" ];
       fhir:ElementDefinition.definition [ fhir:value "The status of the diagnostic report." ];
       fhir:ElementDefinition.requirements [ fhir:value "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.status" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifierReason [ fhir:value "This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSet [
           fhir:value "http://hl7.org/fhir/ValueSet/diagnostic-report-status";
           fhir:link <http://hl7.org/fhir/ValueSet/diagnostic-report-status>         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Event.status" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.status" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBR-25 (not 1:1 mapping)" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "statusCode  Note: final and amended are distinguished by whether observation is the subject of a ControlAct event of type \"revise\"" ]       ]     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "DiagnosticReport.category" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.category" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.slicing.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "pattern" ];
           fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "$this" ]         ];
         fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]       ];
       fhir:ElementDefinition.short [ fhir:value "Service category" ];
       fhir:ElementDefinition.definition [ fhir:value "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes." ];
       fhir:ElementDefinition.comment [ fhir:value "Multiple categories are allowed using various categorization schemes.   The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code." ];
       fhir:ElementDefinition.alias [
         fhir:value "Department";
         fhir:index 0       ], [
         fhir:value "Sub-department";
         fhir:index 1       ], [
         fhir:value "Service";
         fhir:index 2       ], [
         fhir:value "Discipline";
         fhir:index 3       ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.category" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "DiagnosticServiceSection" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes for diagnostic service sections." ];
         fhir:ElementDefinition.binding.valueSet [
           fhir:value "http://hl7.org/fhir/ValueSet/diagnostic-service-sections";
           fhir:link <http://hl7.org/fhir/ValueSet/diagnostic-service-sections>         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.class" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBR-24" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" ]       ]     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "DiagnosticReport.category:lab" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.category" ];
       fhir:ElementDefinition.sliceName [ fhir:value "lab" ];
       fhir:ElementDefinition.short [ fhir:value "Service category" ];
       fhir:ElementDefinition.definition [ fhir:value "A code that classifies the clinical discipline, department or diagnostic service that created the report (e.g. cardiology, biochemistry, hematology, MRI). This is used for searching, sorting and display purposes." ];
       fhir:ElementDefinition.comment [ fhir:value "Multiple categories are allowed using various categorization schemes.   The level of granularity is defined by the category concepts in the value set. More fine-grained filtering can be performed using the metadata and/or terminology hierarchy in DiagnosticReport.code." ];
       fhir:ElementDefinition.alias [
         fhir:value "Department";
         fhir:index 0       ], [
         fhir:value "Sub-department";
         fhir:index 1       ], [
         fhir:value "Service";
         fhir:index 2       ], [
         fhir:value "Discipline";
         fhir:index 3       ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.category" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.patternCodeableConcept [
         fhir:CodeableConcept.coding [
           fhir:index 0;
           fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0074" ];
           fhir:Coding.code [ fhir:value "LAB" ]         ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "DiagnosticServiceSection" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes for diagnostic service sections." ];
         fhir:ElementDefinition.binding.valueSet [
           fhir:value "http://hl7.org/fhir/ValueSet/diagnostic-service-sections";
           fhir:link <http://hl7.org/fhir/ValueSet/diagnostic-service-sections>         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.class" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBR-24" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" ]       ]     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "DiagnosticReport.code" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code" ];
       fhir:ElementDefinition.short [ fhir:value "US Core Laboratory Report Order Code" ];
       fhir:ElementDefinition.definition [ fhir:value "The test, panel or battery that was ordered." ];
       fhir:ElementDefinition.comment [ fhir:value "UsageNote= The typical patterns for codes are:  1)  a LOINC code either as a  translation from a \"local\" code or as a primary code, or 2)  a local code only if no suitable LOINC exists,  or 3)  both the local and the LOINC translation.   Systems SHALL be capable of sending the local code if one exists." ];
       fhir:ElementDefinition.alias [
         fhir:value "Type";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.code" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "LOINC codes" ];
         fhir:ElementDefinition.binding.valueSet [
           fhir:value "http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes";
           fhir:link <http://hl7.org/fhir/us/core/ValueSet/us-core-diagnosticreport-lab-codes>         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Event.code" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.what[x]" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBR-4 (HL7 v2 doesn't provide an easy way to indicate both the ordered test and the performed panel)" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "code" ]       ]     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "DiagnosticReport.code.id" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
       fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 16;
       fhir:Element.id [ fhir:value "DiagnosticReport.code.extension" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code.extension" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.slicing.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
           fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ]         ];
         fhir:ElementDefinition.slicing.description [ fhir:value "Extensions are always sliced by (at least) url" ];
         fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]       ];
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 17;
       fhir:Element.id [ fhir:value "DiagnosticReport.code.coding" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code.coding" ];
       fhir:ElementDefinition.slicing [
         fhir:Element.id [ fhir:value "1" ];
         fhir:ElementDefinition.slicing.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
           fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "code" ]         ];
         fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ];
         fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]       ];
       fhir:ElementDefinition.short [ fhir:value "Code defined by a terminology system" ];
       fhir:ElementDefinition.definition [ fhir:value "A reference to a code defined by a terminology system." ];
       fhir:ElementDefinition.comment [ fhir:value "Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows for alternative encodings within a code system, and translations to other code systems." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CodeableConcept.coding" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Coding" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "C*E.1-8, C*E.10-22" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "union(., ./translation)" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "orim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding" ]       ]     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "DiagnosticReport.code.coding:Fixed_24323-8" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code.coding" ];
       fhir:ElementDefinition.sliceName [ fhir:value "Fixed_24323-8" ];
       fhir:ElementDefinition.short [ fhir:value "Comprehensive metabolic 2000 panel - Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Comprehensive metabolic 2000 panel - Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CodeableConcept.coding" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Coding" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 19;
       fhir:Element.id [ fhir:value "DiagnosticReport.code.coding:Fixed_24323-8.id" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code.coding.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
       fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "DiagnosticReport.code.coding:Fixed_24323-8.extension" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code.coding.extension" ];
       fhir:ElementDefinition.slicing [
         fhir:ElementDefinition.slicing.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
           fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "url" ]         ];
         fhir:ElementDefinition.slicing.description [ fhir:value "Extensions are always sliced by (at least) url" ];
         fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]       ];
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 21;
       fhir:Element.id [ fhir:value "DiagnosticReport.code.coding:Fixed_24323-8.system" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code.coding.system" ];
       fhir:ElementDefinition.short [ fhir:value "Identity of the terminology system" ];
       fhir:ElementDefinition.definition [ fhir:value "The identification of the code system that defines the meaning of the symbol in the code." ];
       fhir:ElementDefinition.comment [ fhir:value "The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to be unambiguous about the source of the definition of the symbol." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Coding.system" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
       fhir:ElementDefinition.fixedUri [ fhir:value "http://loinc.org" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "C*E.3" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./codeSystem" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "orim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" ]       ]     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "DiagnosticReport.code.coding:Fixed_24323-8.version" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code.coding.version" ];
       fhir:ElementDefinition.short [ fhir:value "Version of the system - if relevant" ];
       fhir:ElementDefinition.definition [ fhir:value "The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." ];
       fhir:ElementDefinition.comment [ fhir:value "Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Coding.version" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "C*E.7" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./codeSystemVersion" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "orim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" ]       ]     ], [
       fhir:index 23;
       fhir:Element.id [ fhir:value "DiagnosticReport.code.coding:Fixed_24323-8.code" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code.coding.code" ];
       fhir:ElementDefinition.short [ fhir:value "Symbol in syntax defined by the system" ];
       fhir:ElementDefinition.definition [ fhir:value "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to refer to a particular code in the system." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Coding.code" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.fixedCode [ fhir:value "24323-8" ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "C*E.1" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./code" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "orim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" ]       ]     ], [
       fhir:index 24;
       fhir:Element.id [ fhir:value "DiagnosticReport.code.coding:Fixed_24323-8.display" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ];
         fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]       ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code.coding.display" ];
       fhir:ElementDefinition.short [ fhir:value "Representation defined by the system" ];
       fhir:ElementDefinition.definition [ fhir:value "A representation of the meaning of the code in the system, following the rules of the system." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Coding.display" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "C*E.2 - but note this is not well followed" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "CV.displayName" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "orim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" ]       ]     ], [
       fhir:index 25;
       fhir:Element.id [ fhir:value "DiagnosticReport.code.coding:Fixed_24323-8.userSelected" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code.coding.userSelected" ];
       fhir:ElementDefinition.short [ fhir:value "If this coding was chosen directly by the user" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays)." ];
       fhir:ElementDefinition.comment [ fhir:value "Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely." ];
       fhir:ElementDefinition.requirements [ fhir:value "This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Coding.userSelected" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "boolean" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Sometimes implied by being first" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "CD.codingRationale" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "orim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]" ]       ]     ], [
       fhir:index 26;
       fhir:Element.id [ fhir:value "DiagnosticReport.code.text" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable" ];
         fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ]       ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code.text" ];
       fhir:ElementDefinition.short [ fhir:value "Plain text representation of the concept" ];
       fhir:ElementDefinition.definition [ fhir:value "A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user." ];
       fhir:ElementDefinition.comment [ fhir:value "Very often the text is the same as a displayName of one of the codings." ];
       fhir:ElementDefinition.requirements [ fhir:value "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CodeableConcept.text" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "C*E.9. But note many systems use C*E.2 for this" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./originalText[mediaType/code=\"text/plain\"]/data" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "orim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText" ]       ]     ], [
       fhir:index 27;
       fhir:Element.id [ fhir:value "DiagnosticReport.subject" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.subject" ];
       fhir:ElementDefinition.short [ fhir:value "The subject of an observation" ];
       fhir:ElementDefinition.definition [ fhir:value "The subject of an observation." ];
       fhir:ElementDefinition.requirements [ fhir:value "SHALL know the subject context." ];
       fhir:ElementDefinition.alias [
         fhir:value "Patient";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.subject" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-Patient";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-Patient>         ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Event.subject" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.subject[x]" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PID-3 (no HL7 v2 mapping for Group or Device)" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "participation[typeCode=SBJ]" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.subject" ]       ]     ], [
       fhir:index 28;
       fhir:Element.id [ fhir:value "DiagnosticReport.encounter" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.encounter" ];
       fhir:ElementDefinition.short [ fhir:value "Health care event when test ordered" ];
       fhir:ElementDefinition.definition [ fhir:value "The healthcare event  (e.g. a patient and healthcare provider interaction) which this DiagnosticReport is about." ];
       fhir:ElementDefinition.comment [ fhir:value "This will typically be the encounter the event occurred within, but some events may be initiated prior to or after the official completion of an encounter  but still be tied to the context of the encounter  (e.g. pre-admission laboratory tests)." ];
       fhir:ElementDefinition.requirements [ fhir:value "Links the request to the Encounter context." ];
       fhir:ElementDefinition.alias [
         fhir:value "Context";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.encounter" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter>         ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Event.encounter" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.context" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PV1-19" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" ]       ]     ], [
       fhir:index 29;
       fhir:Element.id [ fhir:value "DiagnosticReport.effective[x]" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.effective[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Specimen Collection Datetime or Period" ];
       fhir:ElementDefinition.definition [ fhir:value "This is the Specimen Collection Datetime or Period which is the physically relevent dateTime for laboratory tests." ];
       fhir:ElementDefinition.comment [ fhir:value "If the diagnostic procedure was performed on the patient, this is the time it was performed. If there are specimens, the diagnostically relevant time can be derived from the specimen collection times, but the specimen information is not always available, and the exact relationship between the specimens and the diagnostically relevant time is not always automatic." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to know where in the patient history to file/present this report." ];
       fhir:ElementDefinition.alias [
         fhir:value "Observation time";
         fhir:index 0       ], [
         fhir:value "Effective Time";
         fhir:index 1       ], [
         fhir:value "Occurrence";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.effective[x]" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "dateTime" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Event.occurrence[x]" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.done[x]" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBR-7" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "effectiveTime" ]       ]     ], [
       fhir:index 30;
       fhir:Element.id [ fhir:value "DiagnosticReport.issued" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.issued" ];
       fhir:ElementDefinition.short [ fhir:value "DateTime this version was made" ];
       fhir:ElementDefinition.definition [ fhir:value "The date and time that this version of the report was made available to providers, typically after the report was reviewed and verified." ];
       fhir:ElementDefinition.comment [ fhir:value "May be different from the update time of the resource itself, because that is the status of the record (potentially a secondary copy), not the actual release time of the report." ];
       fhir:ElementDefinition.requirements [ fhir:value "Clinicians need to be able to check the date that the report was released." ];
       fhir:ElementDefinition.alias [
         fhir:value "Date published";
         fhir:index 0       ], [
         fhir:value "Date Issued";
         fhir:index 1       ], [
         fhir:value "Date Verified";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.issued" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "instant" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.recorded" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBR-22" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "participation[typeCode=VRF or AUT].time" ]       ]     ], [
       fhir:index 31;
       fhir:Element.id [ fhir:value "DiagnosticReport.performer" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.performer" ];
       fhir:ElementDefinition.short [ fhir:value "Responsible Diagnostic Service" ];
       fhir:ElementDefinition.definition [ fhir:value "The diagnostic service that is responsible for issuing the report." ];
       fhir:ElementDefinition.comment [ fhir:value "This is not necessarily the source of the atomic data items or the entity that interpreted the results. It is the entity that takes responsibility for the clinical report." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis." ];
       fhir:ElementDefinition.alias [
         fhir:value "Laboratory";
         fhir:index 0       ], [
         fhir:value "Service";
         fhir:index 1       ], [
         fhir:value "Practitioner";
         fhir:index 2       ], [
         fhir:value "Department";
         fhir:index 3       ], [
         fhir:value "Company";
         fhir:index 4       ], [
         fhir:value "Authorized by";
         fhir:index 5       ], [
         fhir:value "Director";
         fhir:index 6       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.performer" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner>         ], [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization";
           fhir:index 1;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization>         ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Event.performer.actor" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.actor" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PRT-8 (where this PRT-4-Participation = \"PO\")" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=PRF]" ]       ]     ], [
       fhir:index 32;
       fhir:Element.id [ fhir:value "DiagnosticReport.resultsInterpreter" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.resultsInterpreter" ];
       fhir:ElementDefinition.short [ fhir:value "Primary result interpreter" ];
       fhir:ElementDefinition.definition [ fhir:value "The practitioner or organization that is responsible for the report's conclusions and interpretations." ];
       fhir:ElementDefinition.comment [ fhir:value "Might not be the same entity that takes responsibility for the clinical report." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to know whom to contact if there are queries about the results. Also may need to track the source of reports for secondary data analysis." ];
       fhir:ElementDefinition.alias [
         fhir:value "Analyzed by";
         fhir:index 0       ], [
         fhir:value "Reported by";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.resultsInterpreter" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner>         ], [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization";
           fhir:index 1;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization>         ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Event.performer.actor" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.actor" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBR-32, PRT-8 (where this PRT-4-Participation = \"PI\")" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=PRF]" ]       ]     ], [
       fhir:index 33;
       fhir:Element.id [ fhir:value "DiagnosticReport.specimen" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.specimen" ];
       fhir:ElementDefinition.short [ fhir:value "Specimens this report is based on" ];
       fhir:ElementDefinition.definition [ fhir:value "Details about the specimens on which this diagnostic report is based." ];
       fhir:ElementDefinition.comment [ fhir:value "If the specimen is sufficiently specified with a code in the test result name, then this additional data may be redundant. If there are multiple specimens, these may be represented per observation or group." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to be able to report information about the collected specimens on which the report is based." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.specimen" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Specimen";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Specimen>         ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "SPM" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "participation[typeCode=SBJ]" ]       ]     ], [
       fhir:index 34;
       fhir:Element.id [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.slicing [
         fhir:Element.id [ fhir:value "2" ];
         fhir:ElementDefinition.slicing.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
           fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "$this.resolve().code.coding.code" ]         ];
         fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ];
         fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]       ];
       fhir:ElementDefinition.short [ fhir:value "A coded finding based on a specimen, usually collected from a patient (but possibly from a location)" ];
       fhir:ElementDefinition.definition [ fhir:value "A coded finding based on a specimen, usually collected from a patient (but possibly from a location)." ];
       fhir:ElementDefinition.comment [ fhir:value "Observations can contain observations." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to support individual results, or  groups of results, where the result grouping is arbitrary, but meaningful." ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-LaboratoryObservation";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-LaboratoryObservation>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 35;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-GlobulinMCncPtSerQnCalculatedLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-GlobulinMCncPtSerQnCalculatedLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "GlobulinMCncPtSerQnCalculatedLabObs: Globulin [Mass/​volume] in Serum by calculation" ];
       fhir:ElementDefinition.definition [ fhir:value "Globulin [Mass/​volume] in Serum by calculation" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GlobulinMCncPtSerQnCalculatedLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GlobulinMCncPtSerQnCalculatedLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 36;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-AlanineAminotransferaseCCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-AlanineAminotransferaseCCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "AlanineAminotransferaseCCncPtSerPlasQnLabObs: Alanine aminotransferase [Enzymatic activity/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Alanine aminotransferase [Enzymatic activity/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AlanineAminotransferaseCCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AlanineAminotransferaseCCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 37;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-AlbuminMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-AlbuminMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "AlbuminMCncPtSerPlasQnLabObs: Albumin [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Albumin [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AlbuminMCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AlbuminMCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 38;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-AlbuminGlobulinMRtoPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-AlbuminGlobulinMRtoPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "AlbuminGlobulinMRtoPtSerPlasQnLabObs: Albumin/​Globulin [Mass Ratio] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Albumin/​Globulin [Mass Ratio] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AlbuminGlobulinMRtoPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AlbuminGlobulinMRtoPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 39;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-CalciumMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-CalciumMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "CalciumMCncPtSerPlasQnLabObs: Calcium [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Calcium [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-CalciumMCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-CalciumMCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 40;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-AspartateAminotransferaseCCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-AspartateAminotransferaseCCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "AspartateAminotransferaseCCncPtSerPlasQnLabObs: Aspartate aminotransferase [Enzymatic activity/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Aspartate aminotransferase [Enzymatic activity/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AspartateAminotransferaseCCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AspartateAminotransferaseCCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 41;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-BilirubinMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-BilirubinMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "BilirubinMCncPtSerPlasQnLabObs: Bilirubin.total [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Bilirubin.total [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-BilirubinMCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-BilirubinMCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 42;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-CarbonDioxideSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-CarbonDioxideSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "CarbonDioxideSCncPtSerPlasQnLabObs: Carbon dioxide, total [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Carbon dioxide, total [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-CarbonDioxideSCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-CarbonDioxideSCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 43;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-ChlorideSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-ChlorideSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "ChlorideSCncPtSerPlasQnLabObs: Chloride [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Chloride [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-ChlorideSCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-ChlorideSCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 44;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-CreatinineMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-CreatinineMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "CreatinineMCncPtSerPlasQnLabObs: Creatinine [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Creatinine [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-CreatinineMCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-CreatinineMCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 45;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-GlucoseMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-GlucoseMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "GlucoseMCncPtSerPlasQnLabObs: Glucose [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Glucose [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GlucoseMCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GlucoseMCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 46;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-PotassiumSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-PotassiumSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "PotassiumSCncPtSerPlasQnLabObs: Potassium [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Potassium [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-PotassiumSCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-PotassiumSCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 47;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-ProteinMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-ProteinMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "ProteinMCncPtSerPlasQnLabObs: Protein [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Protein [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-ProteinMCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-ProteinMCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 48;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-SodiumSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-SodiumSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "SodiumSCncPtSerPlasQnLabObs: Sodium [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Sodium [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-SodiumSCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-SodiumSCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 49;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-UreaNitrogenMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-UreaNitrogenMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "UreaNitrogenMCncPtSerPlasQnLabObs: Urea nitrogen [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Urea nitrogen [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-UreaNitrogenMCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-UreaNitrogenMCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 50;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-UreaNitrogenCreatinineMRtoPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-UreaNitrogenCreatinineMRtoPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "UreaNitrogenCreatinineMRtoPtSerPlasQnLabObs: Urea nitrogen/​Creatinine [Mass Ratio] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Urea nitrogen/​Creatinine [Mass Ratio] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-UreaNitrogenCreatinineMRtoPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-UreaNitrogenCreatinineMRtoPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 51;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-AlkalinePhosphataseCCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-AlkalinePhosphataseCCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "AlkalinePhosphataseCCncPtSerPlasQnLabObs: Alkaline phosphatase [Enzymatic activity/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Alkaline phosphatase [Enzymatic activity/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AlkalinePhosphataseCCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AlkalinePhosphataseCCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 52;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-GFR173sqMPredArVRatPtSerPlasQnMDRDLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-GFR173sqMPredArVRatPtSerPlasQnMDRDLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "GFR173sqMPredArVRatPtSerPlasQnMDRDLabObs: Glomerular filtration rate/​1.73 sq M.predicted [Volume Rate/​Area] in Serum or Plasma by Creatinine-based formula (MDRD)" ];
       fhir:ElementDefinition.definition [ fhir:value "Glomerular filtration rate/​1.73 sq M.predicted [Volume Rate/​Area] in Serum or Plasma by Creatinine-based formula (MDRD). Units are optional." ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GFR173sqMPredArVRatPtSerPlasQnMDRDLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GFR173sqMPredArVRatPtSerPlasQnMDRDLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 53;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-GFR173sqMPredFemaleArVRatPtSerPlasBldQnMDRDLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-GFR173sqMPredFemaleArVRatPtSerPlasBldQnMDRDLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "GFR173sqMPredFemaleArVRatPtSerPlasBldQnMDRDLabObs: Glomerular filtration rate/​1.73 sq M predicted among females [Volume Rate/​Area] in Serum, Plasma or Blood by Creatinine-based formula (MDRD)" ];
       fhir:ElementDefinition.definition [ fhir:value "Glomerular filtration rate/​1.73 sq M predicted among females [Volume Rate/​Area] in Serum, Plasma or Blood by Creatinine-based formula (MDRD). Units are optional." ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GFR173sqMPredFemaleArVRatPtSerPlasBldQnMDRDLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GFR173sqMPredFemaleArVRatPtSerPlasBldQnMDRDLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 54;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-GFR173sqMPredNonBlackArVRatPtSerPlasBldQnMDRDLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-GFR173sqMPredNonBlackArVRatPtSerPlasBldQnMDRDLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "GFR173sqMPredNonBlackArVRatPtSerPlasBldQnMDRDLabObs: Glomerular filtration rate/​1.73 sq M predicted among non-blacks [Volume Rate/​Area] in Serum, Plasma or Blood by Creatinine-based formula (MDRD)" ];
       fhir:ElementDefinition.definition [ fhir:value "Glomerular filtration rate/​1.73 sq M predicted among non-blacks [Volume Rate/​Area] in Serum, Plasma or Blood by Creatinine-based formula (MDRD). Units are optional." ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GFR173sqMPredNonBlackArVRatPtSerPlasBldQnMDRDLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GFR173sqMPredNonBlackArVRatPtSerPlasBldQnMDRDLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 55;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-GFR173sqMPredBlackArVRatPtSerPlasBldQnMDRDLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-GFR173sqMPredBlackArVRatPtSerPlasBldQnMDRDLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "GFR173sqMPredBlackArVRatPtSerPlasBldQnMDRDLabObs: Glomerular filtration rate/​1.73 sq M predicted among blacks [Volume Rate/​Area] in Serum, Plasma or Blood by Creatinine-based formula (MDRD)" ];
       fhir:ElementDefinition.definition [ fhir:value "Glomerular filtration rate/​1.73 sq M predicted among blacks [Volume Rate/​Area] in Serum, Plasma or Blood by Creatinine-based formula (MDRD). Units are optional." ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GFR173sqMPredBlackArVRatPtSerPlasBldQnMDRDLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GFR173sqMPredBlackArVRatPtSerPlasBldQnMDRDLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 56;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-BilirubinDirectMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-BilirubinDirectMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "BilirubinDirectMCncPtSerPlasQnLabObs: Bilirubin.direct [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Bilirubin.direct [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-BilirubinDirectMCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-BilirubinDirectMCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 57;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-BicarbonateSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-BicarbonateSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "BicarbonateSCncPtSerPlasQnLabObs: Bicarbonate [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Bicarbonate [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-BicarbonateSCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-BicarbonateSCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 58;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-AniongapSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-AniongapSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "AniongapSCncPtSerPlasQnLabObs: Anion gap in Serum or Plasma. Units are optional but if provided, must be in mmol/L." ];
       fhir:ElementDefinition.definition [ fhir:value "Anion gap in Serum or Plasma. Units are optional but if provided, must be in mmol/L." ];
       fhir:ElementDefinition.alias [
         fhir:value "Data";
         fhir:index 0       ], [
         fhir:value "Atomic Value";
         fhir:index 1       ], [
         fhir:value "Result";
         fhir:index 2       ], [
         fhir:value "Atomic result";
         fhir:index 3       ], [
         fhir:value "Data";
         fhir:index 4       ], [
         fhir:value "Test";
         fhir:index 5       ], [
         fhir:value "Analyte";
         fhir:index 6       ], [
         fhir:value "Battery";
         fhir:index 7       ], [
         fhir:value "Organizer";
         fhir:index 8       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.result" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AniongapSCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AniongapSCncPtSerPlasQnLabObs>         ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBXs" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 59;
       fhir:Element.id [ fhir:value "DiagnosticReport.imagingStudy" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.imagingStudy" ];
       fhir:ElementDefinition.short [ fhir:value "Reference to full details of imaging associated with the diagnostic report" ];
       fhir:ElementDefinition.definition [ fhir:value "One or more links to full details of any imaging performed during the diagnostic investigation. Typically, this is imaging performed by DICOM enabled modalities, but this is not required. A fully enabled PACS viewer can use this information to provide views of the source images." ];
       fhir:ElementDefinition.comment [ fhir:value "ImagingStudy and the image element are somewhat overlapping - typically, the list of image references in the image element will also be found in one of the imaging study resources. However, each caters to different types of displays for different types of purposes. Neither, either, or both may be provided." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.imagingStudy" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/ImagingStudy";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/StructureDefinition/ImagingStudy>         ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" ]       ]     ], [
       fhir:index 60;
       fhir:Element.id [ fhir:value "DiagnosticReport.media" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.media" ];
       fhir:ElementDefinition.short [ fhir:value "Key images associated with this report" ];
       fhir:ElementDefinition.definition [ fhir:value "A list of key images associated with this report. The images are generally created during the diagnostic process, and may be directly of the patient, or of treated specimens (i.e. slides of interest)." ];
       fhir:ElementDefinition.requirements [ fhir:value "Many diagnostic services include images in the report as part of their service." ];
       fhir:ElementDefinition.alias [
         fhir:value "DICOM";
         fhir:index 0       ], [
         fhir:value "Slides";
         fhir:index 1       ], [
         fhir:value "Scans";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.media" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "Element" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX?" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=COMP].target" ]       ]     ], [
       fhir:index 61;
       fhir:Element.id [ fhir:value "DiagnosticReport.media.id" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.media.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ];
       fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.id" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 62;
       fhir:Element.id [ fhir:value "DiagnosticReport.media.extension" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.media.extension" ];
       fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 63;
       fhir:Element.id [ fhir:value "DiagnosticReport.media.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.media.modifierExtension" ];
       fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ];
       fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ];
       fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ];
       fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ];
       fhir:ElementDefinition.alias [
         fhir:value "extensions";
         fhir:index 0       ], [
         fhir:value "user content";
         fhir:index 1       ], [
         fhir:value "modifiers";
         fhir:index 2       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 64;
       fhir:Element.id [ fhir:value "DiagnosticReport.media.comment" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.media.comment" ];
       fhir:ElementDefinition.short [ fhir:value "Comment about the image (e.g. explanation)" ];
       fhir:ElementDefinition.definition [ fhir:value "A comment about the image. Typically, this is used to provide an explanation for why the image is included, or to draw the viewer's attention to important features." ];
       fhir:ElementDefinition.comment [ fhir:value "The comment should be displayed with the image. It would be common for the report to include additional discussion of the image contents in other sections such as the conclusion." ];
       fhir:ElementDefinition.requirements [ fhir:value "The provider of the report should make a comment about each image included in the report." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.media.comment" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" ]       ]     ], [
       fhir:index 65;
       fhir:Element.id [ fhir:value "DiagnosticReport.media.link" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.media.link" ];
       fhir:ElementDefinition.short [ fhir:value "Reference to the image source" ];
       fhir:ElementDefinition.definition [ fhir:value "Reference to the image source." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.media.link" ];
         fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/Media";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/StructureDefinition/Media>         ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".value.reference" ]       ]     ], [
       fhir:index 66;
       fhir:Element.id [ fhir:value "DiagnosticReport.conclusion" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.conclusion" ];
       fhir:ElementDefinition.short [ fhir:value "Clinical conclusion (interpretation) of test results" ];
       fhir:ElementDefinition.definition [ fhir:value "Concise and clinically contextualized summary conclusion (interpretation/impression) of the diagnostic report." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to be able to provide a conclusion that is not lost among the basic result data." ];
       fhir:ElementDefinition.alias [
         fhir:value "Report";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.conclusion" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "inboundRelationship[typeCode=\"SPRT\"].source[classCode=OBS, moodCode=EVN, code=LOINC:48767-8].value (type=ST)" ]       ]     ], [
       fhir:index 67;
       fhir:Element.id [ fhir:value "DiagnosticReport.conclusionCode" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.conclusionCode" ];
       fhir:ElementDefinition.short [ fhir:value "Codes for the clinical conclusion of test results" ];
       fhir:ElementDefinition.definition [ fhir:value "One or more codes that represent the summary conclusion (interpretation/impression) of the diagnostic report." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.conclusionCode" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "AdjunctDiagnosis" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Diagnosis codes provided as adjuncts to the report." ];
         fhir:ElementDefinition.binding.valueSet [
           fhir:value "http://hl7.org/fhir/ValueSet/clinical-findings";
           fhir:link <http://hl7.org/fhir/ValueSet/clinical-findings>         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "inboundRelationship[typeCode=SPRT].source[classCode=OBS, moodCode=EVN, code=LOINC:54531-9].value (type=CD)" ]       ]     ], [
       fhir:index 68;
       fhir:Element.id [ fhir:value "DiagnosticReport.presentedForm" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.presentedForm" ];
       fhir:ElementDefinition.short [ fhir:value "Entire report as issued" ];
       fhir:ElementDefinition.definition [ fhir:value "Rich text representation of the entire result as issued by the diagnostic service. Multiple formats are allowed but they SHALL be semantically equivalent." ];
       fhir:ElementDefinition.comment [ fhir:value "\"application/pdf\" is recommended as the most reliable and interoperable in this context." ];
       fhir:ElementDefinition.requirements [ fhir:value "Gives laboratory the ability to provide its own fully formatted report for clinical fidelity." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "DiagnosticReport.presentedForm" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Attachment" ]       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "DiagnosticReport.result or  DiagnosticReport.presentedForm or both SHALL be present." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "result.exists() or presentedForm.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:result or f:presentedForm" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "text (type=ED)" ]       ]     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.differential.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "DiagnosticReport" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport" ];
       fhir:ElementDefinition.short [ fhir:value "obf-lab-ComprehensiveMetabolic2000SerumOrPlasmaPanel" ];
       fhir:ElementDefinition.definition [ fhir:value "Represents a comprehensive metabolic 2000 panel (CMP) from serum or plasma, which measures various components such as glucose, electrolytes, kidney function, and liver function. The components of this panel are not entirely standardized, so the definition of the CMP includes tests that are optional, or performed by certain laboratories but not others. Therefore, instances typically will include a subset of the listed panel members." ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ];
       fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "DiagnosticReport.basedOn" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.basedOn" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/StructureDefinition/ServiceRequest";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/StructureDefinition/ServiceRequest>         ], [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest";
           fhir:index 1;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest>         ]       ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "DiagnosticReport.category" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.category" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ]     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "DiagnosticReport.code" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code" ]     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "DiagnosticReport.code.coding" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code.coding" ];
       fhir:ElementDefinition.slicing [
         fhir:Element.id [ fhir:value "1" ];
         fhir:ElementDefinition.slicing.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
           fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "code" ]         ];
         fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ];
         fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]       ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ]     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "DiagnosticReport.code.coding:Fixed_24323-8" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code.coding" ];
       fhir:ElementDefinition.sliceName [ fhir:value "Fixed_24323-8" ];
       fhir:ElementDefinition.short [ fhir:value "Comprehensive metabolic 2000 panel - Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Comprehensive metabolic 2000 panel - Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "CodeableConcept.coding" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Coding" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "DiagnosticReport.code.coding:Fixed_24323-8.system" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code.coding.system" ];
       fhir:ElementDefinition.fixedUri [ fhir:value "http://loinc.org" ]     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "DiagnosticReport.code.coding:Fixed_24323-8.code" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.code.coding.code" ];
       fhir:ElementDefinition.fixedCode [ fhir:value "24323-8" ]     ], [
       fhir:index 8;
       fhir:Element.id [ fhir:value "DiagnosticReport.subject" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.subject" ];
       fhir:ElementDefinition.short [ fhir:value "The subject of an observation" ];
       fhir:ElementDefinition.definition [ fhir:value "The subject of an observation." ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-Patient";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-Patient>         ]       ]     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "DiagnosticReport.encounter" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.encounter" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter>         ]       ]     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "DiagnosticReport.performer" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.performer" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner>         ], [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization";
           fhir:index 1;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization>         ]       ]     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "DiagnosticReport.resultsInterpreter" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.resultsInterpreter" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner>         ], [
           fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization";
           fhir:index 1;
           fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization>         ]       ]     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.slicing [
         fhir:Element.id [ fhir:value "2" ];
         fhir:ElementDefinition.slicing.discriminator [
           fhir:index 0;
           fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ];
           fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "$this.resolve().code.coding.code" ]         ];
         fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ];
         fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]       ];
       fhir:ElementDefinition.short [ fhir:value "A coded finding based on a specimen, usually collected from a patient (but possibly from a location)" ];
       fhir:ElementDefinition.definition [ fhir:value "A coded finding based on a specimen, usually collected from a patient (but possibly from a location)." ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-LaboratoryObservation";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-LaboratoryObservation>         ]       ]     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-GlobulinMCncPtSerQnCalculatedLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-GlobulinMCncPtSerQnCalculatedLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "GlobulinMCncPtSerQnCalculatedLabObs: Globulin [Mass/​volume] in Serum by calculation" ];
       fhir:ElementDefinition.definition [ fhir:value "Globulin [Mass/​volume] in Serum by calculation" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GlobulinMCncPtSerQnCalculatedLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GlobulinMCncPtSerQnCalculatedLabObs>         ]       ]     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-AlanineAminotransferaseCCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-AlanineAminotransferaseCCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "AlanineAminotransferaseCCncPtSerPlasQnLabObs: Alanine aminotransferase [Enzymatic activity/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Alanine aminotransferase [Enzymatic activity/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AlanineAminotransferaseCCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AlanineAminotransferaseCCncPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-AlbuminMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-AlbuminMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "AlbuminMCncPtSerPlasQnLabObs: Albumin [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Albumin [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AlbuminMCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AlbuminMCncPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 16;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-AlbuminGlobulinMRtoPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-AlbuminGlobulinMRtoPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "AlbuminGlobulinMRtoPtSerPlasQnLabObs: Albumin/​Globulin [Mass Ratio] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Albumin/​Globulin [Mass Ratio] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AlbuminGlobulinMRtoPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AlbuminGlobulinMRtoPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 17;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-CalciumMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-CalciumMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "CalciumMCncPtSerPlasQnLabObs: Calcium [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Calcium [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-CalciumMCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-CalciumMCncPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-AspartateAminotransferaseCCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-AspartateAminotransferaseCCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "AspartateAminotransferaseCCncPtSerPlasQnLabObs: Aspartate aminotransferase [Enzymatic activity/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Aspartate aminotransferase [Enzymatic activity/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AspartateAminotransferaseCCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AspartateAminotransferaseCCncPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 19;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-BilirubinMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-BilirubinMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "BilirubinMCncPtSerPlasQnLabObs: Bilirubin.total [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Bilirubin.total [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-BilirubinMCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-BilirubinMCncPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-CarbonDioxideSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-CarbonDioxideSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "CarbonDioxideSCncPtSerPlasQnLabObs: Carbon dioxide, total [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Carbon dioxide, total [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-CarbonDioxideSCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-CarbonDioxideSCncPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 21;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-ChlorideSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-ChlorideSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "ChlorideSCncPtSerPlasQnLabObs: Chloride [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Chloride [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-ChlorideSCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-ChlorideSCncPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-CreatinineMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-CreatinineMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "CreatinineMCncPtSerPlasQnLabObs: Creatinine [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Creatinine [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-CreatinineMCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-CreatinineMCncPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 23;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-GlucoseMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-GlucoseMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "GlucoseMCncPtSerPlasQnLabObs: Glucose [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Glucose [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GlucoseMCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GlucoseMCncPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 24;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-PotassiumSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-PotassiumSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "PotassiumSCncPtSerPlasQnLabObs: Potassium [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Potassium [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-PotassiumSCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-PotassiumSCncPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 25;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-ProteinMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-ProteinMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "ProteinMCncPtSerPlasQnLabObs: Protein [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Protein [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-ProteinMCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-ProteinMCncPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 26;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-SodiumSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-SodiumSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "SodiumSCncPtSerPlasQnLabObs: Sodium [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Sodium [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-SodiumSCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-SodiumSCncPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 27;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-UreaNitrogenMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-UreaNitrogenMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "UreaNitrogenMCncPtSerPlasQnLabObs: Urea nitrogen [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Urea nitrogen [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-UreaNitrogenMCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-UreaNitrogenMCncPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 28;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-UreaNitrogenCreatinineMRtoPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-UreaNitrogenCreatinineMRtoPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "UreaNitrogenCreatinineMRtoPtSerPlasQnLabObs: Urea nitrogen/​Creatinine [Mass Ratio] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Urea nitrogen/​Creatinine [Mass Ratio] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-UreaNitrogenCreatinineMRtoPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-UreaNitrogenCreatinineMRtoPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 29;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-AlkalinePhosphataseCCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-AlkalinePhosphataseCCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "AlkalinePhosphataseCCncPtSerPlasQnLabObs: Alkaline phosphatase [Enzymatic activity/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Alkaline phosphatase [Enzymatic activity/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AlkalinePhosphataseCCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AlkalinePhosphataseCCncPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 30;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-GFR173sqMPredArVRatPtSerPlasQnMDRDLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-GFR173sqMPredArVRatPtSerPlasQnMDRDLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "GFR173sqMPredArVRatPtSerPlasQnMDRDLabObs: Glomerular filtration rate/​1.73 sq M.predicted [Volume Rate/​Area] in Serum or Plasma by Creatinine-based formula (MDRD)" ];
       fhir:ElementDefinition.definition [ fhir:value "Glomerular filtration rate/​1.73 sq M.predicted [Volume Rate/​Area] in Serum or Plasma by Creatinine-based formula (MDRD). Units are optional." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GFR173sqMPredArVRatPtSerPlasQnMDRDLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GFR173sqMPredArVRatPtSerPlasQnMDRDLabObs>         ]       ]     ], [
       fhir:index 31;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-GFR173sqMPredFemaleArVRatPtSerPlasBldQnMDRDLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-GFR173sqMPredFemaleArVRatPtSerPlasBldQnMDRDLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "GFR173sqMPredFemaleArVRatPtSerPlasBldQnMDRDLabObs: Glomerular filtration rate/​1.73 sq M predicted among females [Volume Rate/​Area] in Serum, Plasma or Blood by Creatinine-based formula (MDRD)" ];
       fhir:ElementDefinition.definition [ fhir:value "Glomerular filtration rate/​1.73 sq M predicted among females [Volume Rate/​Area] in Serum, Plasma or Blood by Creatinine-based formula (MDRD). Units are optional." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GFR173sqMPredFemaleArVRatPtSerPlasBldQnMDRDLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GFR173sqMPredFemaleArVRatPtSerPlasBldQnMDRDLabObs>         ]       ]     ], [
       fhir:index 32;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-GFR173sqMPredNonBlackArVRatPtSerPlasBldQnMDRDLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-GFR173sqMPredNonBlackArVRatPtSerPlasBldQnMDRDLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "GFR173sqMPredNonBlackArVRatPtSerPlasBldQnMDRDLabObs: Glomerular filtration rate/​1.73 sq M predicted among non-blacks [Volume Rate/​Area] in Serum, Plasma or Blood by Creatinine-based formula (MDRD)" ];
       fhir:ElementDefinition.definition [ fhir:value "Glomerular filtration rate/​1.73 sq M predicted among non-blacks [Volume Rate/​Area] in Serum, Plasma or Blood by Creatinine-based formula (MDRD). Units are optional." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GFR173sqMPredNonBlackArVRatPtSerPlasBldQnMDRDLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GFR173sqMPredNonBlackArVRatPtSerPlasBldQnMDRDLabObs>         ]       ]     ], [
       fhir:index 33;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-GFR173sqMPredBlackArVRatPtSerPlasBldQnMDRDLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-GFR173sqMPredBlackArVRatPtSerPlasBldQnMDRDLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "GFR173sqMPredBlackArVRatPtSerPlasBldQnMDRDLabObs: Glomerular filtration rate/​1.73 sq M predicted among blacks [Volume Rate/​Area] in Serum, Plasma or Blood by Creatinine-based formula (MDRD)" ];
       fhir:ElementDefinition.definition [ fhir:value "Glomerular filtration rate/​1.73 sq M predicted among blacks [Volume Rate/​Area] in Serum, Plasma or Blood by Creatinine-based formula (MDRD). Units are optional." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GFR173sqMPredBlackArVRatPtSerPlasBldQnMDRDLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-GFR173sqMPredBlackArVRatPtSerPlasBldQnMDRDLabObs>         ]       ]     ], [
       fhir:index 34;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-BilirubinDirectMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-BilirubinDirectMCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "BilirubinDirectMCncPtSerPlasQnLabObs: Bilirubin.direct [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Bilirubin.direct [Mass/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-BilirubinDirectMCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-BilirubinDirectMCncPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 35;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-BicarbonateSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-BicarbonateSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "BicarbonateSCncPtSerPlasQnLabObs: Bicarbonate [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.definition [ fhir:value "Bicarbonate [Moles/​volume] in Serum or Plasma" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-BicarbonateSCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-BicarbonateSCncPtSerPlasQnLabObs>         ]       ]     ], [
       fhir:index 36;
       fhir:Element.id [ fhir:value "DiagnosticReport.result:obf-lab-AniongapSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.path [ fhir:value "DiagnosticReport.result" ];
       fhir:ElementDefinition.sliceName [ fhir:value "obf-lab-AniongapSCncPtSerPlasQnLabObs" ];
       fhir:ElementDefinition.short [ fhir:value "AniongapSCncPtSerPlasQnLabObs: Anion gap in Serum or Plasma. Units are optional but if provided, must be in mmol/L." ];
       fhir:ElementDefinition.definition [ fhir:value "Anion gap in Serum or Plasma. Units are optional but if provided, must be in mmol/L." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [
           fhir:value "http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AniongapSCncPtSerPlasQnLabObs";
           fhir:index 0;
           fhir:link <http://hl7.org/fhir/us/mcode/StructureDefinition/obf-lab-AniongapSCncPtSerPlasQnLabObs>         ]       ]     ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.