HL7 FHIR Profile: Skin and Wound Assessment, Release 1 (For Comment)

WoundBedColorObservationProfile

@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 "sw-WoundBedColorObservation"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SW WoundBedColorObservation Profile</b></p>\n  <p>Color of part or all of the wound base (bed), and the percentage of the area with that color.</p>\n  <p><b>SW Mapping Summary</b></p>\n  <p><pre>sw.WoundBedColorObservation maps to http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults:\n  PersonOfRecord maps to subject\r\n  TopicCode maps to code\r\n  FindingMethod maps to method\r\n  AdditionalText maps to comment\r\n  Category maps to category\r\n  AnatomicalLocation maps to bodySite\r\n  Device maps to device\r\n  Specimen maps to specimen\r\n  ReferenceRange maps to referenceRange\r\n  ReferenceRange.Range.LowerBound maps to referenceRange.low\r\n  ReferenceRange.Range.UpperBound maps to referenceRange.high\r\n  ReferenceRange.Type maps to referenceRange.type\r\n  ReferenceRange.ApplicableSubpopulation maps to referenceRange.appliesTo\r\n  ReferenceRange.ApplicableAgeRange maps to referenceRange.age	\r\n  EvaluationComponent maps to component (slice on = coding.code; slice strategy = includes)\r\n  EvaluationComponent._Concept maps to component.code\r\n  EvaluationComponent.Quantity maps to component.value[x]\r\n  EvaluationComponent.CodeableConcept maps to component.value[x]\r\n  EvaluationComponent.string maps to component.value[x]\r\n  EvaluationComponent.Range maps to component.value[x]\r\n  EvaluationComponent.Ratio maps to component.value[x]\r\n  EvaluationComponent.Media maps to component.value[x]\r\n  EvaluationComponent.time maps to component.value[x]\r\n  EvaluationComponent.dateTime maps to component.value[x]\r\n  EvaluationComponent.TimePeriod maps to component.value[x]\r\n  EvaluationComponent.IntegerQuantity maps to component.value[x]\r\n  EvaluationComponent.ExceptionValue maps to component.dataAbsentReason\r\n  EvaluationComponent.Interpretation maps to component.interpretation\r\n  EvaluationComponent.ReferenceRange maps to component.referenceRange\r\n  fix related.type to #has-member\r\n  PanelMembers maps to related\r\n  PanelMembers.Observation maps to related.target (slice at = related; slice on = target.reference.resolve(); slice on type = profile; slice strategy = includes)\r\n  ResultValue maps to value[x]\r\n  ExceptionValue maps to dataAbsentReason\r\n  Interpretation maps to interpretation\r\n  RelevantTime maps to effective[x]\r\n  Encounter maps to context\r\n  DeltaFlag maps to http://hl7.org/fhir/StructureDefinition/observation-delta\r\n</pre></p>\n</div>"
  ];
  fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/sw-WoundBedColorObservation"];
  fhir:StructureDefinition.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/us/sw" ];
     fhir:Identifier.value [ fhir:value "sw.WoundBedColorObservation" ]
  ];
  fhir:StructureDefinition.version [ fhir:value "1.0.0"];
  fhir:StructureDefinition.name [ fhir:value "WoundBedColorObservationProfile"];
  fhir:StructureDefinition.title [ fhir:value "SW WoundBedColorObservation Profile"];
  fhir:StructureDefinition.status [ fhir:value "draft"];
  fhir:StructureDefinition.date [ fhir:value "2018-08-17T00:00:00-04:00"^^xsd:dateTime];
  fhir:StructureDefinition.publisher [ fhir:value "HL7 Patient Care and Clinical Information Modeling Initiative Work Groups"];
  fhir:StructureDefinition.contact [
     fhir:index 0;
     fhir:ContactDetail.telecom [
       fhir:index 0;
       fhir:ContactPoint.system [ fhir:value "url" ];
       fhir:ContactPoint.value [ fhir:value "http://standardhealthrecord.org" ]     ]
  ];
  fhir:StructureDefinition.description [ fhir:value "Color of part or all of the wound base (bed), and the percentage of the area with that color."];
  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 "3.0.1"];
  fhir:StructureDefinition.mapping [
     fhir:index 0;
     fhir:StructureDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://unknown.org/Argonaut%20DQ%20DSTU2" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "Argonaut DQ DSTU2" ]
  ], [
     fhir:index 1;
     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 Mapping" ]
  ], [
     fhir:index 2;
     fhir:StructureDefinition.mapping.identity [ fhir:value "sct-concept" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://snomed.info/conceptdomain" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "SNOMED CT Concept Domain Binding" ]
  ], [
     fhir:index 3;
     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 4;
     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 5;
     fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/w5" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "W5 Mapping" ]
  ], [
     fhir:index 6;
     fhir:StructureDefinition.mapping.identity [ fhir:value "sct-attr" ];
     fhir:StructureDefinition.mapping.uri [ fhir:value "http://snomed.info/sct" ];
     fhir:StructureDefinition.mapping.name [ fhir:value "SNOMED CT Attribute Binding" ]
  ];
  fhir:StructureDefinition.kind [ fhir:value "resource"];
  fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean];
  fhir:StructureDefinition.type [ fhir:value "Observation"];
  fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults"];
  fhir:StructureDefinition.derivation [ fhir:value "constraint"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.snapshot.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation" ];
       fhir:ElementDefinition.short [ fhir:value "SW WoundBedColorObservation Profile" ];
       fhir:ElementDefinition.definition [ fhir:value "Color of part or all of the wound base (bed), and the percentage of the area with that color." ];
       fhir:ElementDefinition.comment [ fhir:value "Used for simple observations such as device measurements, laboratory atomic results, vital signs, height, weight, smoking status, comments, etc.  Other resources are used to provide context for observations such as lab reports, etc." ];
       fhir:ElementDefinition.alias [
         fhir:value "Vital Signs";
         fhir:index 0       ], [
         fhir:value "Measurement";
         fhir:index 1       ], [
         fhir:value "Results";
         fhir:index 2       ], [
         fhir:value "Tests";
         fhir:index 3       ], [
         fhir:value "Obs";
         fhir:index 4       ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation" ];
         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-1" ];
         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 any narrative" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "contained.text.empty()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:text)" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "DomainResource" ]       ], [
         fhir:index 2;
         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 3;
         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" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "contained.where(('#'+id in %resource.descendants().reference).not()).empty()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "DomainResource" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.constraint.key [ fhir:value "obs-7" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "If code is the same as a component code then the value element associated with the code SHALL NOT be present" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "value.empty() or code!=component.code" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:*[starts-with(local-name(.), 'value')])) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "Observation" ]       ], [
         fhir:index 5;
         fhir:ElementDefinition.constraint.key [ fhir:value "obs-6" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "dataAbsentReason SHALL only be present if Observation.value[x] is not present" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "dataAbsentReason.empty() or value.empty()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:dataAbsentReason)) or (not(exists(*[starts-with(local-name(.), 'value')])))" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "Observation" ]       ], [
         fhir:index 6;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-2" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "If there is no component or related element then either a value[x] or a data absent reason must be present" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "(component.empty() and related.empty()) implies (dataAbsentReason or value)" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:component) or exists(f:related) or exists(f:*[starts-with(local-name(.), 'value)]) or exists(f:dataAbsentReason)" ]       ];
       fhir:ElementDefinition.mustSupport [ 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 "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 363787002 |Observable entity|" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Observation[classCode=OBS, moodCode=EVN]" ]       ], [
         fhir:index 5;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "clinical.diagnostics" ]       ], [
         fhir:index 6;
         fhir:ElementDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Observation" ]       ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.meta" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 may 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.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.implicitRules" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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." ];
       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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation." ];
       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.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.language" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ];
           fhir:Extension.valueReference [
             fhir:link <http://hl7.org/fhir/ValueSet/all-languages>;
             fhir:Reference.reference [ fhir:value "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 "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A human language." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/languages>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/languages" ]         ]       ]     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.text" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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 may 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 in formation 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.condition [
         fhir:value "dom-1";
         fhir:index 0       ];
       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 "Observation:sw-WoundBedColorObservation.contained" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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." ];
       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.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 "Observation:sw-WoundBedColorObservation.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension" ];
       fhir:ElementDefinition.slicing [
         fhir:Element.id [ fhir:value "7" ];
         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.ordered [ fhir:value "false"^^xsd:boolean ];
         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 resource. In order 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." ];
       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 "1"^^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.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 "Observation:sw-WoundBedColorObservation.extension:deltaflag" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "deltaflag" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicator of significant change (delta) from the last or previous measurement." ];
       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 "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/observation-delta" ]       ]     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:recorded" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "recorded" ];
       fhir:ElementDefinition.definition [ fhir:value "The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order." ];
       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 "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-core-Recorded-extension" ]       ]     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:signed" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "signed" ];
       fhir:ElementDefinition.definition [ fhir:value "Provenance information specific to the signing of the clinical statement." ];
       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 "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-core-Signed-extension" ]       ]     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "contextcode" ];
       fhir:ElementDefinition.definition [ fhir:value "Code representing the sense in which the statement is interpreted, for example, the degree of presence in a PresenceStatement." ];
       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 "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-statement-ContextCode-extension" ]       ]     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.extension:extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "extension" ];
       fhir:ElementDefinition.short [ fhir:value "Extension" ];
       fhir:ElementDefinition.definition [ fhir:value "An Extension" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       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:index 14;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.url" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.url" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "identifies the meaning of the extension" ];
       fhir:ElementDefinition.definition [ fhir:value "Source of the definition for the extension code - a logical name or a URL." ];
       fhir:ElementDefinition.comment [ fhir:value "The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Extension.url" ];
         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 "uri" ]       ];
       fhir:ElementDefinition.fixedUri [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-statement-ContextCode-extension" ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.valueCodeableConcept" ];
       fhir:ElementDefinition.short [ fhir:value "Value of extension" ];
       fhir:ElementDefinition.definition [ fhir:value "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list)." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Extension.value[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 "CodeableConcept" ]       ];
       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 "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.valueCodeableConcept.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       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.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 "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.valueCodeableConcept.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. In order 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." ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept.coding" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.valueCodeableConcept.coding" ];
       fhir:ElementDefinition.slicing [
         fhir:Element.id [ fhir:value "6" ];
         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 translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.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: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 19;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept.coding:Fixed_424975005" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.valueCodeableConcept.coding" ];
       fhir:ElementDefinition.sliceName [ fhir:value "Fixed_424975005" ];
       fhir:ElementDefinition.short [ fhir:value "Record Entity" ];
       fhir:ElementDefinition.definition [ fhir:value "Record Entity" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Coding" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept.coding:Fixed_424975005.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.valueCodeableConcept.coding.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       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.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 "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept.coding:Fixed_424975005.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.valueCodeableConcept.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. In order 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." ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept.coding:Fixed_424975005.system" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.valueCodeableConcept.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 de-reference to some definition that establish 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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
       fhir:ElementDefinition.fixedUri [ fhir:value "http://snomed.info/sct" ];
       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 23;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept.coding:Fixed_424975005.version" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.valueCodeableConcept.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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       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 24;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept.coding:Fixed_424975005.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.valueCodeableConcept.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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.fixedCode [ fhir:value "424975005" ];
       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 25;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept.coding:Fixed_424975005.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 "Observation.extension.valueCodeableConcept.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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       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 26;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept.coding:Fixed_424975005.userSelected" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.valueCodeableConcept.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 - i.e. 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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "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 27;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept.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 "Observation.extension.valueCodeableConcept.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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       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 28;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:media" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "media" ];
       fhir:ElementDefinition.definition [ fhir:value "A file that contains audio, video, image, or similar content." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-datatypes-Media-extension" ]       ]     ], [
       fhir:index 29;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:precondition" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "precondition" ];
       fhir:ElementDefinition.definition [ fhir:value "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-statement-Precondition-extension" ]       ]     ], [
       fhir:index 30;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:woundidentifier" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "woundidentifier" ];
       fhir:ElementDefinition.definition [ fhir:value "A human-readable identifier for the lesion; e.g., a letter or integer." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/sw-WoundIdentifier-extension" ]       ]     ], [
       fhir:index 31;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.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. Usually modifier elements provide negation or qualification. In order 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." ];
       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.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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ]     ], [
       fhir:index 32;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.identifier" ];
       fhir:ElementDefinition.short [ fhir:value "Business Identifier for observation" ];
       fhir:ElementDefinition.definition [ fhir:value "A unique identifier assigned to this observation." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows observations to be distinguished and referenced." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.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.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 "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX.21  For OBX segments from systems without OBX-21 support a combination of ORC/OBR and OBX must be negotiated between trading partners to uniquely identify the OBX segment. Depending on how V2 has been implemented each of these may be an option: 1) OBR-3 + OBX-3 + OBX-4 or 2) OBR-3 + OBR-4 + OBX-3 + OBX-4 or 2) some other way to uniquely ID the OBR/ORC + OBX-3 + OBX-4." ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "id" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "id" ]       ]     ], [
       fhir:index 33;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.basedOn" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.basedOn" ];
       fhir:ElementDefinition.short [ fhir:value "Fulfills plan, proposal or order" ];
       fhir:ElementDefinition.definition [ fhir:value "A plan, proposal or order that is fulfilled in whole or in part by this event." ];
       fhir:ElementDefinition.requirements [ fhir:value "Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon." ];
       fhir:ElementDefinition.alias [
         fhir:value "Fulfills";
         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 "Observation.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/CarePlan" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/DeviceRequest" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/MedicationRequest" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/NutritionOrder" ]       ], [
         fhir:index 5;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" ]       ], [
         fhir:index 6;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ReferralRequest" ]       ];
       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.basedOn" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "ORC" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=FLFS].target" ]       ]     ], [
       fhir:index 34;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.status" ];
       fhir:Element.extension [
         fhir:index 0;
         fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint" ];
         fhir:Extension.valueString [ fhir:value "default: final" ]       ];
       fhir:ElementDefinition.path [ fhir:value "Observation.status" ];
       fhir:ElementDefinition.short [ fhir:value "registered | preliminary | final | amended +" ];
       fhir:ElementDefinition.definition [ fhir:value "The status of the result value." ];
       fhir:ElementDefinition.comment [ fhir:value "This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to track the status of individual results. Some results are finalized before the whole report is finalized." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.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.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/observation-status>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/observation-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 "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 445584004 |Report by finality status|" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-11" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "status  Amended & Final are differentiated by whether it is the subject of a ControlAct event with a type of \"revise\"" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "status" ]       ], [
         fhir:index 5;
         fhir:ElementDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Observation.status" ]       ]     ], [
       fhir:index 35;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.category" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.category" ];
       fhir:ElementDefinition.short [ fhir:value "Classification of  type of observation" ];
       fhir:ElementDefinition.definition [ fhir:value "A code that classifies the general type of observation being made." ];
       fhir:ElementDefinition.comment [ fhir:value "In addition to the required category valueset, this element allows various categorization schemes based on the owner’s definition of the category and effectively multiple categories can be used at once.  The level of granularity is defined by the category concepts in the value set." ];
       fhir:ElementDefinition.requirements [ fhir:value "Used for filtering what observations are retrieved and displayed." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.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.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-5" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "Must have a category of 'laboratory' and a code system 'http://hl7.org/fhir/observation-category'" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "where(coding.system='http://hl7.org/fhir/observation-category' and coding.code='laboratory').exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:coding/code[@value='laboratory']) and exists(f:coding/system[@value='http://hl7.org/fhir/observation-category'])" ]       ];
       fhir:ElementDefinition.mustSupport [ 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 "ObservationCategory" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes for high level observation categories." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/observation-category>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/observation-category" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "class" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Observation.category" ]       ]     ], [
       fhir:index 36;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.code" ];
       fhir:ElementDefinition.short [ fhir:value "Laboratory Test Name" ];
       fhir:ElementDefinition.definition [ fhir:value "The test that was performed.  A LOINC **SHALL** be used if the concept is present in LOINC." ];
       fhir:ElementDefinition.comment [ fhir:value "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.  When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display." ];
       fhir:ElementDefinition.requirements [ fhir:value "Knowing what kind of observation is being made is essential to understanding the observation." ];
       fhir:ElementDefinition.alias [
         fhir:value "Name";
         fhir:index 0       ], [
         fhir:value "Test Name";
         fhir:index 1       ], [
         fhir:value "Observation Identifer";
         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 "Observation.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.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.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/observation-codes>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/observation-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 "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 363787002 |Observable entity| OR < 386053000 |Evaluation procedure|" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-3" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "code" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-attr" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "116680003 |Is a|" ]       ], [
         fhir:index 5;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "what" ]       ], [
         fhir:index 6;
         fhir:ElementDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Observation.code" ]       ]     ], [
       fhir:index 37;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.subject" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.subject" ];
       fhir:ElementDefinition.short [ fhir:value "Who and/or what this is about" ];
       fhir:ElementDefinition.definition [ fhir:value "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed.  Comments: Indirect characteristics may be those of a specimen, fetus, donor,  other observer (for example a relative or EMT), or any observation made about the subject." ];
       fhir:ElementDefinition.comment [ fhir:value "One would expect this element to be a cardinality  of 1..1.  The only circumstance in which the subject can be missing is when the observation is made by a device that does not know the patient. In this case, the observation SHALL be matched to a patient through some context/channel matching technique, and at this point, the observation should be updated.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html).  may be used.  However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code." ];
       fhir:ElementDefinition.requirements [ fhir:value "Observations have no value if you don't know who or what they're about." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.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/core/StructureDefinition/us-core-patient" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^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 "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PID-3" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "participation[typeCode=SBJ]" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "who.focus" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Observation.subject" ]       ]     ], [
       fhir:index 38;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.context" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.context" ];
       fhir:ElementDefinition.short [ fhir:value "Healthcare event during which this observation is made" ];
       fhir:ElementDefinition.definition [ fhir:value "The healthcare event  (e.g. a patient and healthcare provider interaction) during which this observation is made." ];
       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 or episode but still be tied to the context of the encounter or episode (e.g. pre-admission lab tests)." ];
       fhir:ElementDefinition.requirements [ fhir:value "For some observations it may be important to know the link between an observation and a particular encounter." ];
       fhir:ElementDefinition.alias [
         fhir:value "Encounter";
         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 "Observation.context" ];
         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/sw/StructureDefinition/cimi-encounter-Encounter" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Event.context" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PV1" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "context" ]       ]     ], [
       fhir:index 39;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.effective[x]" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.effective[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Clinically relevant time/time-period for observation" ];
       fhir:ElementDefinition.definition [ fhir:value "For lab tests this is the specimen collection date.  For Ask at Order Entry Questions (AOE)'s this is the date the question was asked." ];
       fhir:ElementDefinition.comment [ fhir:value "At least a date should be present unless this observation is a historical report." ];
       fhir:ElementDefinition.requirements [ fhir:value "Knowing when an observation was deemed true is important to its relevance as well as determining trends." ];
       fhir:ElementDefinition.alias [
         fhir:value "Occurrence";
         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 "Observation.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.constraint [
         fhir:index 0;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "Datetime must be at least to day." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "($this as dateTime).toString().length() >= 8" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:matches(effectiveDateTime,/\\d{4}-[01]\\d-[0-3]\\dT[0-2]\\d:[0-5]\\d([+-][0-2]\\d:[0-5]\\d|Z)/)" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^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 "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-14, and/or OBX-19 after v2.4  (depends on who observation made)" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "effectiveTime" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "when.done" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Observation.effective[x]" ]       ]     ], [
       fhir:index 40;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.issued" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.issued" ];
       fhir:ElementDefinition.short [ fhir:value "Date/Time this was made available" ];
       fhir:ElementDefinition.definition [ fhir:value "The date and time this observation was made available to providers, typically after the results have been reviewed and verified." ];
       fhir:ElementDefinition.comment [ fhir:value "Updated when the result is updated." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.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.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 "OBR.22 (or MSH.7), or perhaps OBX-19 (depends on who observation made)" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "participation[typeCode=AUT].time" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "when.recorded" ]       ]     ], [
       fhir:index 41;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.performer" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.performer" ];
       fhir:ElementDefinition.short [ fhir:value "Who is responsible for the observation" ];
       fhir:ElementDefinition.definition [ fhir:value "Who was responsible for asserting the observed value as \"true\"." ];
       fhir:ElementDefinition.requirements [ fhir:value "May give a degree of confidence in the observation and also indicates where follow-up questions should be directed." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.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/StructureDefinition/Practitioner" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Organization" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/RelatedPerson" ]       ];
       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" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX.15 / (Practitioner)  OBX-16,  PRT-5:PRT-4='RO' /  (Device)  OBX-18 , PRT-10:PRT-4='EQUIP' / (Organization)  OBX-23,  PRT-8:PRT-4='PO'" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "participation[typeCode=PRF]" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "who.actor" ]       ]     ], [
       fhir:index 42;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.value[x]" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.value[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Result Value" ];
       fhir:ElementDefinition.definition [ fhir:value "The Laboratory result value.  If a coded value,  the valueCodeableConcept.code **SHOULD**  be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults).  If a numeric value, valueQuantity.code **SHALL** be selected from [UCUM](http://unitsofmeasure.org).  A FHIR [UCUM Codes value set](http://hl7.org/fhir/STU3/valueset-ucum-units.html) that defines all UCUM codes is in the FHIR specification." ];
       fhir:ElementDefinition.comment [ fhir:value "Normally, an observation will have either a single value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueBoolean, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text.  A value set is bound to the ValueCodeableConcept element.    For further discussion and examples see the  [notes section](observation.html#notes) below." ];
       fhir:ElementDefinition.requirements [ fhir:value "An observation exists to have a value, though it may not if it is in error, or if it represents a group of observations." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.value[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 "Quantity" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.type.code [ fhir:value "boolean" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.type.code [ fhir:value "Range" ]       ], [
         fhir:index 5;
         fhir:ElementDefinition.type.code [ fhir:value "Ratio" ]       ], [
         fhir:index 6;
         fhir:ElementDefinition.type.code [ fhir:value "time" ]       ], [
         fhir:index 7;
         fhir:ElementDefinition.type.code [ fhir:value "dateTime" ]       ], [
         fhir:index 8;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ];
       fhir:ElementDefinition.condition [
         fhir:value "obs-7";
         fhir:index 0       ];
       fhir:ElementDefinition.constraint [
         fhir:index 0;
         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:ElementDefinition.constraint.key [ fhir:value "us-core-4" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "warning" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "SHOULD use Snomed CT for coded Results" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "valueCodeableConcept.coding.system.empty() or valueCodeableConcept.coding.system = 'http://snomed.info/sct'" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:valueCodeableConcept/f:coding/f:system) ) or  f:valueCodeableConcept/f:coding/f:system[@value='http://snomed.info/sct']" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.constraint.key [ fhir:value "us-core-3" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "SHALL use UCUM for coded quantity units." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "valueQuantity.system.empty() or valueQuantity.system = 'http://unitsofmeasure.org'" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:valueQuantity/f:system) ) or  f:valueQuantity/f:system[@value='http://unitsofmeasure.org']" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^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.notDone, Event.notDoneReason  (maps to valeu[x] or dataAbsentReason)" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 441742003 |Evaluation finding|" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX.2, OBX.5, OBX.6" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "value" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-attr" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "363714003 |Interprets|" ]       ], [
         fhir:index 5;
         fhir:ElementDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Observation.value[x]" ]       ]     ], [
       fhir:index 43;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.dataAbsentReason" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.dataAbsentReason" ];
       fhir:ElementDefinition.short [ fhir:value "Why the result is missing" ];
       fhir:ElementDefinition.definition [ fhir:value "Provides a reason why the expected value in the element Observation.value[x] is missing." ];
       fhir:ElementDefinition.comment [ fhir:value "Null or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"specimen unsatisfactory\".   The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed. Note that an observation may only be reported if there are values to report. For example differential cell counts values may be reported only when > 0.  Because of these options, use-case agreements are required to interpret general observations for null or exceptional values." ];
       fhir:ElementDefinition.requirements [ fhir:value "For many results it is necessary to handle exceptional values in measurements." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.dataAbsentReason" ];
         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 "CodeableConcept" ]       ];
       fhir:ElementDefinition.condition [
         fhir:value "obs-6";
         fhir:index 0       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/data-absent-reason>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/data-absent-reason" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Event.notDone, Event.notDoneReason  (maps to valeu[x] or dataAbsentReason)" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "value.nullFlavor" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Observation.dataAbsentReason" ]       ]     ], [
       fhir:index 44;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.interpretation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.interpretation" ];
       fhir:ElementDefinition.short [ fhir:value "High, low, normal, etc." ];
       fhir:ElementDefinition.definition [ fhir:value "The assessment made based on the result of the observation.  Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag." ];
       fhir:ElementDefinition.requirements [ fhir:value "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result." ];
       fhir:ElementDefinition.alias [
         fhir:value "Abnormal Flag";
         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 "Observation.interpretation" ];
         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 "CodeableConcept" ]       ];
       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 "ObservationInterpretation" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes identifying interpretations of observations." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/observation-interpretation>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/observation-interpretation" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 260245000 |Findings values|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-8" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "interpretationCode" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-attr" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "363713009 |Has interpretation|" ]       ]     ], [
       fhir:index 45;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.comment" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.comment" ];
       fhir:ElementDefinition.short [ fhir:value "Comments about result" ];
       fhir:ElementDefinition.definition [ fhir:value "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to be able to provide free text additional information." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Event.note" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "NTE.3 (partner NTE to OBX, or sometimes another (child?) OBX)" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "subjectOf.observationEvent[code=\"annotation\"].value" ]       ]     ], [
       fhir:index 46;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.bodySite" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.bodySite" ];
       fhir:ElementDefinition.short [ fhir:value "Observed body part" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates the site on the subject's body where the observation was made (i.e. the target site)." ];
       fhir:ElementDefinition.comment [ fhir:value "Only used if not implicit in code found in Observation.code.  In many systems, this may be represented as a related observation instead of an inline component.   If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use the standard extension[ body-site-instance](extension-body-site-instance.html)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.bodySite" ];
         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 "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/us/sw/ValueSet/cimi-element-AnatomicalLocationVS>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/us/sw/ValueSet/cimi-element-AnatomicalLocationVS" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 123037004 |Body structure|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-20" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "targetSiteCode" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-attr" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "718497002 |Inherent location|" ]       ]     ], [
       fhir:index 47;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.method" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.method" ];
       fhir:ElementDefinition.short [ fhir:value "How it was done" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates the mechanism used to perform the observation." ];
       fhir:ElementDefinition.comment [ fhir:value "Only used if not implicit in code for Observation.code." ];
       fhir:ElementDefinition.requirements [ fhir:value "In some cases, method can impact results and is thus used for determining whether results can be compared or determining significance of results." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.method" ];
         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 "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/us/sw/ValueSet/cimi-statement-FindingMethodVS>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/us/sw/ValueSet/cimi-statement-FindingMethodVS" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-17" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "methodCode" ]       ]     ], [
       fhir:index 48;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.specimen" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.specimen" ];
       fhir:ElementDefinition.short [ fhir:value "Specimen used for this observation" ];
       fhir:ElementDefinition.definition [ fhir:value "The specimen that was used when this observation was made." ];
       fhir:ElementDefinition.comment [ fhir:value "Should only be used if not implicit in code found in `Observation.code`.  Observations are not made on specimens themselves; they are made on a subject, but in many cases by the means of a specimen. Note that although specimens are often involved, they are not always tracked and reported explicitly. Also note that observation resources may be used in contexts that track the specimen explicitly (e.g. Diagnostic Report)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.specimen" ];
         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/sw/StructureDefinition/cimi-entity-Specimen" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 123038009 |Specimen|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "SPM segment" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "participation[typeCode=SPC].specimen" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-attr" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "704319004 |Inherent in|" ]       ]     ], [
       fhir:index 49;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.device" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.device" ];
       fhir:ElementDefinition.short [ fhir:value "(Measurement) Device" ];
       fhir:ElementDefinition.definition [ fhir:value "The device used to generate the observation data." ];
       fhir:ElementDefinition.comment [ fhir:value "An extension should be used if further typing of the device is needed.  Devices used to support obtaining an observation can be represented using either an extension or through the Observation.related element." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.device" ];
         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/sw/StructureDefinition/cimi-entity-Device" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 49062001 |Device|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-17 / PRT -10" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "participation[typeCode=DEV]" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-attr" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "424226004 |Using device|" ]       ]     ], [
       fhir:index 50;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.referenceRange" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange" ];
       fhir:ElementDefinition.short [ fhir:value "Provides guide for interpretation" ];
       fhir:ElementDefinition.definition [ fhir:value "Guidance on how to interpret the value by comparison to a normal or recommended range." ];
       fhir:ElementDefinition.comment [ fhir:value "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this may not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties." ];
       fhir:ElementDefinition.requirements [ fhir:value "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.referenceRange" ];
         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() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "Element" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.constraint.key [ fhir:value "obs-3" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "Must have at least a low or a high or text" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "low.exists() or high.exists() or text.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "(exists(f:low) or exists(f:high)or exists(f:text))" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX.7" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" ]       ]     ], [
       fhir:index 51;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.referenceRange.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 52;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.referenceRange.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange.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. In order 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." ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 53;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.referenceRange.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order 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." ];
       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: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.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 54;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.referenceRange.low" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange.low" ];
       fhir:ElementDefinition.short [ fhir:value "Low Range, if relevant" ];
       fhir:ElementDefinition.definition [ fhir:value "The value of the low bound of the reference range.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is >=5 - <=9).   If the low bound is omitted,  it is assumed to be meaningless (e.g. reference range is <=2.3)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.referenceRange.low" ];
         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 "Quantity" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]       ];
       fhir:ElementDefinition.condition [
         fhir:value "obs-3";
         fhir:index 0       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-7" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "value:IVL_PQ.low" ]       ]     ], [
       fhir:index 55;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.referenceRange.high" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange.high" ];
       fhir:ElementDefinition.short [ fhir:value "High Range, if relevant" ];
       fhir:ElementDefinition.definition [ fhir:value "The value of the high bound of the reference range.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is >=5 - <=9).   If the high bound is omitted,  it is assumed to be meaningless (e.g. reference range is >= 2.3)." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.referenceRange.high" ];
         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 "Quantity" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]       ];
       fhir:ElementDefinition.condition [
         fhir:value "obs-3";
         fhir:index 0       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-7" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "value:IVL_PQ.high" ]       ]     ], [
       fhir:index 56;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.referenceRange.type" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange.type" ];
       fhir:ElementDefinition.short [ fhir:value "Reference range qualifier" ];
       fhir:ElementDefinition.definition [ fhir:value "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range." ];
       fhir:ElementDefinition.comment [ fhir:value "This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc,  - for proper interpretation." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.referenceRange.type" ];
         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 "CodeableConcept" ]       ];
       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 "ObservationRangeMeaning" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Code for the meaning of a reference range." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/referencerange-meaning>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/referencerange-meaning" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 260245000 |Findings values| OR  \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR  \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-10" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "interpretationCode" ]       ]     ], [
       fhir:index 57;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.referenceRange.appliesTo" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange.appliesTo" ];
       fhir:ElementDefinition.short [ fhir:value "Reference range population" ];
       fhir:ElementDefinition.definition [ fhir:value "Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race." ];
       fhir:ElementDefinition.comment [ fhir:value "This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to be able to identify the target population for proper interpretation." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.referenceRange.appliesTo" ];
         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.binding [
         fhir:Element.extension [
           fhir:index 0;
           fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ];
           fhir:Extension.valueString [ fhir:value "ObservationRangeType" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes identifying the population the reference range applies to." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/referencerange-appliesto>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/referencerange-appliesto" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 260245000 |Findings values| OR  \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR  \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-10" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "interpretationCode" ]       ]     ], [
       fhir:index 58;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.referenceRange.age" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange.age" ];
       fhir:ElementDefinition.short [ fhir:value "Applicable age range, if relevant" ];
       fhir:ElementDefinition.definition [ fhir:value "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so." ];
       fhir:ElementDefinition.requirements [ fhir:value "Some analytes vary greatly over age." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.referenceRange.age" ];
         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 "Range" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" ]       ]     ], [
       fhir:index 59;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.referenceRange.text" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange.text" ];
       fhir:ElementDefinition.short [ fhir:value "Text based reference range in an observation" ];
       fhir:ElementDefinition.definition [ fhir:value "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of \"Negative\" or a list or table of 'normals'." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.referenceRange.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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-7" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "value:ST" ]       ]     ], [
       fhir:index 60;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.related" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.related" ];
       fhir:ElementDefinition.short [ fhir:value "Resource related to this observation" ];
       fhir:ElementDefinition.definition [ fhir:value "A  reference to another resource (usually another Observation) whose relationship is defined by the relationship type code." ];
       fhir:ElementDefinition.comment [ fhir:value "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4)." ];
       fhir:ElementDefinition.requirements [ fhir:value "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes a QuestionnaireResponse from which the measure is derived." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.related" ];
         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() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "Element" ]       ];
       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 "Relationships established by OBX-4 usage" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outBoundRelationship" ]       ]     ], [
       fhir:index 61;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.related.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.related.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       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.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 "Observation:sw-WoundBedColorObservation.related.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.related.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. In order 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." ];
       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.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 "Observation:sw-WoundBedColorObservation.related.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order 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." ];
       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: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.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 "Observation:sw-WoundBedColorObservation.related.type" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.related.type" ];
       fhir:ElementDefinition.short [ fhir:value "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by" ];
       fhir:ElementDefinition.definition [ fhir:value "A code specifying the kind of relationship that exists with the target resource." ];
       fhir:ElementDefinition.comment [ fhir:value "The \"derived-from\" type is the only logical choice when referencing the QuestionnaireAnswer resource." ];
       fhir:ElementDefinition.requirements [ fhir:value "A relationship type SHOULD be provided." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.related.type" ];
         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 "has-member" ];
       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 "ObservationRelationshipType" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes specifying how two observations are related." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/observation-relationshiptypes>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".typeCode" ]       ]     ], [
       fhir:index 65;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.related.target" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.related.target" ];
       fhir:ElementDefinition.short [ fhir:value "Resource that is related to this one" ];
       fhir:ElementDefinition.definition [ fhir:value "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.related.target" ];
         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/us/sw/StructureDefinition/cimi-statement-Observation" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".targetObservation" ]       ]     ], [
       fhir:index 66;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component" ];
       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 "coding.code" ]         ];
         fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ];
         fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]       ];
       fhir:ElementDefinition.short [ fhir:value "Component results" ];
       fhir:ElementDefinition.definition [ fhir:value "Some observations have multiple component observations.  These component observations are expressed as separate code value pairs that share the same attributes.  Examples include systolic and diastolic component observations for blood pressure measurement and multiple component observations for genetics observations." ];
       fhir:ElementDefinition.comment [ fhir:value "For a discussion on the ways Observations can be assembled in groups together see [Notes](observation.html#notes) below." ];
       fhir:ElementDefinition.requirements [ fhir:value "Component observations share the same attributes in the Observation resource as the primary observation and are always treated a part of a single observation (they are not separable).   However, the reference range for the primary observation value is not inherited by the component values and is required when appropriate for each component observation." ];
       fhir:ElementDefinition.min [ fhir:value "2"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.component" ];
         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() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "Element" ]       ];
       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 "containment by OBX-4?" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outBoundRelationship[typeCode=COMP]" ]       ]     ], [
       fhir:index 67;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component" ];
       fhir:ElementDefinition.sliceName [ fhir:value "sw-WoundBedColor" ];
       fhir:ElementDefinition.short [ fhir:value "WoundBedColor" ];
       fhir:ElementDefinition.definition [ fhir:value "Color of Wound base (bed)." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.component" ];
         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() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "Element" ]       ];
       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 "containment by OBX-4?" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outBoundRelationship[typeCode=COMP]" ]       ]     ], [
       fhir:index 68;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 69;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.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. In order 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." ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 70;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order 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." ];
       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: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.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 71;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code" ];
       fhir:ElementDefinition.short [ fhir:value "Type of component observation (code / type)" ];
       fhir:ElementDefinition.definition [ fhir:value "Describes what was observed. Sometimes this is called the observation \"code\"." ];
       fhir:ElementDefinition.requirements [ fhir:value "Knowing what kind of observation is being made is essential to understanding the observation." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.component.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.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 "ObservationCode" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes identifying names of simple observations." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/observation-codes>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/observation-codes" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-3" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "code" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "what" ]       ]     ], [
       fhir:index 72;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 73;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.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. In order 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." ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 74;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code.coding" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code.coding" ];
       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 "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 translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.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: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 75;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code.coding:Fixed_39132-6" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code.coding" ];
       fhir:ElementDefinition.sliceName [ fhir:value "Fixed_39132-6" ];
       fhir:ElementDefinition.definition [ fhir:value "A reference to a code defined by a terminology system." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Coding" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 76;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code.coding:Fixed_39132-6.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code.coding.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 77;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code.coding:Fixed_39132-6.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.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. In order 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." ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 78;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code.coding:Fixed_39132-6.system" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.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 de-reference to some definition that establish 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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
       fhir:ElementDefinition.fixedUri [ fhir:value "http://loinc.org" ];
       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 79;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code.coding:Fixed_39132-6.version" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       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 80;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code.coding:Fixed_39132-6.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.fixedCode [ fhir:value "39132-6" ];
       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 81;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code.coding:Fixed_39132-6.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 "Observation.component.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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       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 82;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code.coding:Fixed_39132-6.userSelected" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.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 - i.e. 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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "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 83;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.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 "Observation.component.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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       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 84;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.valueCodeableConcept" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.valueCodeableConcept" ];
       fhir:ElementDefinition.short [ fhir:value "Actual component result" ];
       fhir:ElementDefinition.definition [ fhir:value "The information determined as a result of making the observation, if the information has a simple value." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.component.value[x]" ];
         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.isSummary [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1181.7/expansion>;
           fhir:Reference.reference [ fhir:value "https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1181.7/expansion" ]         ]       ]     ], [
       fhir:index 85;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.dataAbsentReason" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.dataAbsentReason" ];
       fhir:ElementDefinition.short [ fhir:value "Why the component result is missing" ];
       fhir:ElementDefinition.definition [ fhir:value "Provides a reason why the expected value in the element Observation.value[x] is missing." ];
       fhir:ElementDefinition.comment [ fhir:value "\"Null\" or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"test not done\".   The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values." ];
       fhir:ElementDefinition.requirements [ fhir:value "For many results it is necessary to handle exceptional values in measurements." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.component.dataAbsentReason" ];
         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 "CodeableConcept" ]       ];
       fhir:ElementDefinition.condition [
         fhir:value "obs-6";
         fhir:index 0       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/data-absent-reason>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/data-absent-reason" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "value.nullFlavor" ]       ]     ], [
       fhir:index 86;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.interpretation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.interpretation" ];
       fhir:ElementDefinition.short [ fhir:value "High, low, normal, etc." ];
       fhir:ElementDefinition.definition [ fhir:value "The assessment made based on the result of the observation.  Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag." ];
       fhir:ElementDefinition.comment [ fhir:value "The component interpretation applies only to the individual component value.  For an overall interpretation all components together use thes Observation.interpretation element." ];
       fhir:ElementDefinition.requirements [ fhir:value "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result." ];
       fhir:ElementDefinition.alias [
         fhir:value "Abnormal Flag";
         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 "Observation.component.interpretation" ];
         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 "CodeableConcept" ]       ];
       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 "ObservationInterpretation" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes identifying interpretations of observations." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/observation-interpretation>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/observation-interpretation" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 260245000 |Findings values|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-8" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "interpretationCode" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-attr" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "363713009 |Has interpretation|" ]       ]     ], [
       fhir:index 87;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.referenceRange" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange" ];
       fhir:ElementDefinition.short [ fhir:value "Provides guide for interpretation of component result" ];
       fhir:ElementDefinition.definition [ fhir:value "Guidance on how to interpret the value by comparison to a normal or recommended range." ];
       fhir:ElementDefinition.comment [ fhir:value "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this may not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties." ];
       fhir:ElementDefinition.requirements [ fhir:value "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.component.referenceRange" ];
         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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX.7" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" ]       ]     ], [
       fhir:index 88;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.referenceRange.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 89;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.referenceRange.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.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. In order 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." ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 90;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.referenceRange.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order 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." ];
       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: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.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 91;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.referenceRange.low" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.low" ];
       fhir:ElementDefinition.short [ fhir:value "Low Range, if relevant" ];
       fhir:ElementDefinition.definition [ fhir:value "The value of the low bound of the reference range.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is >=5 - <=9).   If the low bound is omitted,  it is assumed to be meaningless (e.g. reference range is <=2.3)." ];
       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 "Quantity" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]       ];
       fhir:ElementDefinition.condition [
         fhir:value "obs-3";
         fhir:index 0       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-7" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "value:IVL_PQ.low" ]       ]     ], [
       fhir:index 92;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.referenceRange.high" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.high" ];
       fhir:ElementDefinition.short [ fhir:value "High Range, if relevant" ];
       fhir:ElementDefinition.definition [ fhir:value "The value of the high bound of the reference range.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is >=5 - <=9).   If the high bound is omitted,  it is assumed to be meaningless (e.g. reference range is >= 2.3)." ];
       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 "Quantity" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]       ];
       fhir:ElementDefinition.condition [
         fhir:value "obs-3";
         fhir:index 0       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-7" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "value:IVL_PQ.high" ]       ]     ], [
       fhir:index 93;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.referenceRange.type" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.type" ];
       fhir:ElementDefinition.short [ fhir:value "Reference range qualifier" ];
       fhir:ElementDefinition.definition [ fhir:value "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range." ];
       fhir:ElementDefinition.comment [ fhir:value "This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc,  - for proper interpretation." ];
       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 "CodeableConcept" ]       ];
       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 "ObservationRangeMeaning" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Code for the meaning of a reference range." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/referencerange-meaning>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/referencerange-meaning" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 260245000 |Findings values| OR  \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR  \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-10" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "interpretationCode" ]       ]     ], [
       fhir:index 94;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.referenceRange.appliesTo" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.appliesTo" ];
       fhir:ElementDefinition.short [ fhir:value "Reference range population" ];
       fhir:ElementDefinition.definition [ fhir:value "Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race." ];
       fhir:ElementDefinition.comment [ fhir:value "This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to be able to identify the target population for proper interpretation." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       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 "ObservationRangeType" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes identifying the population the reference range applies to." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/referencerange-appliesto>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/referencerange-appliesto" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 260245000 |Findings values| OR  \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR  \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-10" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "interpretationCode" ]       ]     ], [
       fhir:index 95;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.referenceRange.age" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.age" ];
       fhir:ElementDefinition.short [ fhir:value "Applicable age range, if relevant" ];
       fhir:ElementDefinition.definition [ fhir:value "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so." ];
       fhir:ElementDefinition.requirements [ fhir:value "Some analytes vary greatly over age." ];
       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 "Range" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" ]       ]     ], [
       fhir:index 96;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.referenceRange.text" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.text" ];
       fhir:ElementDefinition.short [ fhir:value "Text based reference range in an observation" ];
       fhir:ElementDefinition.definition [ fhir:value "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of \"Negative\" or a list or table of 'normals'." ];
       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 "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-7" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "value:ST" ]       ]     ], [
       fhir:index 97;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component" ];
       fhir:ElementDefinition.sliceName [ fhir:value "sw-WoundBedColorAreaPercentage" ];
       fhir:ElementDefinition.short [ fhir:value "WoundBedColorAreaPercentage" ];
       fhir:ElementDefinition.definition [ fhir:value "Wound bed area identified by color/​Area of wound bed." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.component" ];
         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() | (children().count() > id.count())" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "Element" ]       ];
       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 "containment by OBX-4?" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outBoundRelationship[typeCode=COMP]" ]       ]     ], [
       fhir:index 98;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 99;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.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. In order 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." ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 100;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order 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." ];
       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: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.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 101;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code" ];
       fhir:ElementDefinition.short [ fhir:value "Type of component observation (code / type)" ];
       fhir:ElementDefinition.definition [ fhir:value "Describes what was observed. Sometimes this is called the observation \"code\"." ];
       fhir:ElementDefinition.requirements [ fhir:value "Knowing what kind of observation is being made is essential to understanding the observation." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.component.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.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 "ObservationCode" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes identifying names of simple observations." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/observation-codes>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/observation-codes" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 363787002 |Observable entity| OR \r< 386053000 |Evaluation procedure|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-3" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "code" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "what" ]       ]     ], [
       fhir:index 102;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 103;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.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. In order 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." ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 104;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code.coding" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code.coding" ];
       fhir:ElementDefinition.slicing [
         fhir:Element.id [ fhir:value "3" ];
         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 translations and alternate encodings within a code system.  Also supports communication of the same instance to systems requiring different encodings." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.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: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 105;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code.coding:Fixed_89255-4" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code.coding" ];
       fhir:ElementDefinition.sliceName [ fhir:value "Fixed_89255-4" ];
       fhir:ElementDefinition.definition [ fhir:value "A reference to a code defined by a terminology system." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Coding" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 106;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code.coding:Fixed_89255-4.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code.coding.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 107;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code.coding:Fixed_89255-4.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.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. In order 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." ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 108;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code.coding:Fixed_89255-4.system" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.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 de-reference to some definition that establish 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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "uri" ]       ];
       fhir:ElementDefinition.fixedUri [ fhir:value "http://loinc.org" ];
       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 109;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code.coding:Fixed_89255-4.version" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       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 110;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code.coding:Fixed_89255-4.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "code" ]       ];
       fhir:ElementDefinition.fixedCode [ fhir:value "89255-4" ];
       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 111;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code.coding:Fixed_89255-4.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 "Observation.component.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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       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 112;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code.coding:Fixed_89255-4.userSelected" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.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 - i.e. 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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "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 113;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.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 "Observation.component.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.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       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 114;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.valueQuantity" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.valueQuantity" ];
       fhir:ElementDefinition.short [ fhir:value "Actual component result" ];
       fhir:ElementDefinition.definition [ fhir:value "The information determined as a result of making the observation, if the information has a simple value." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.component.value[x]" ];
         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 "Quantity" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 115;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.valueQuantity.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.valueQuantity.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 116;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.valueQuantity.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.valueQuantity.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. In order 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." ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 117;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.valueQuantity.value" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.valueQuantity.value" ];
       fhir:ElementDefinition.short [ fhir:value "Numerical value (with implicit precision)" ];
       fhir:ElementDefinition.definition [ fhir:value "The value of the measured amount. The value includes an implicit precision in the presentation of the value." ];
       fhir:ElementDefinition.comment [ fhir:value "The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books)." ];
       fhir:ElementDefinition.requirements [ fhir:value "Precision is handled implicitly in almost all cases of measurement." ];
       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 "decimal" ]       ];
       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 "SN.2  / CQ - N/A" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value" ]       ]     ], [
       fhir:index 118;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.valueQuantity.comparator" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.valueQuantity.comparator" ];
       fhir:ElementDefinition.short [ fhir:value "< | <= | >= | > - how to understand the value" ];
       fhir:ElementDefinition.definition [ fhir:value "How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is \"<\" , then the real value is < stated value." ];
       fhir:ElementDefinition.comment [ fhir:value "This is labeled as \"Is Modifier\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology." ];
       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 "code" ]       ];
       fhir:ElementDefinition.meaningWhenMissing [ fhir:value "If there is no comparator, then there is no modification of the value" ];
       fhir:ElementDefinition.isModifier [ fhir:value "true"^^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 "QuantityComparator" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "How the Quantity should be understood and represented." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/quantity-comparator>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/quantity-comparator" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "SN.1  / CQ.1" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "IVL properties" ]       ]     ], [
       fhir:index 119;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.valueQuantity.unit" ];
       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 "Observation.component.valueQuantity.unit" ];
       fhir:ElementDefinition.short [ fhir:value "Unit representation" ];
       fhir:ElementDefinition.definition [ fhir:value "A human-readable form of the unit." ];
       fhir:ElementDefinition.requirements [ fhir:value "There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms." ];
       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 "string" ]       ];
       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 "(see OBX.6 etc.) / CQ.2" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PQ.unit" ]       ]     ], [
       fhir:index 120;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.valueQuantity.system" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.valueQuantity.system" ];
       fhir:ElementDefinition.short [ fhir:value "System that defines coded unit form" ];
       fhir:ElementDefinition.definition [ fhir:value "The identification of the system that provides the coded form of the unit." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to know the system that defines the coded form of the unit." ];
       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 "uri" ]       ];
       fhir:ElementDefinition.fixedUri [ fhir:value "http://unitsofmeasure.org" ];
       fhir:ElementDefinition.condition [
         fhir:value "qty-3";
         fhir:index 0       ];
       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 "(see OBX.6 etc.) / CQ.2" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "CO.codeSystem, PQ.translation.codeSystem" ]       ]     ], [
       fhir:index 121;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.valueQuantity.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.valueQuantity.code" ];
       fhir:ElementDefinition.short [ fhir:value "Coded form of the unit" ];
       fhir:ElementDefinition.definition [ fhir:value "A computer processable form of the unit in some unit representation system." ];
       fhir:ElementDefinition.comment [ fhir:value "The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency.  The context of use may additionally require a code from a particular system." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest." ];
       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 "code" ]       ];
       fhir:ElementDefinition.fixedCode [ fhir:value "%" ];
       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 "(see OBX.6 etc.) / CQ.2" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PQ.code, MO.currency, PQ.translation.code" ]       ]     ], [
       fhir:index 122;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.dataAbsentReason" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.dataAbsentReason" ];
       fhir:ElementDefinition.short [ fhir:value "Why the component result is missing" ];
       fhir:ElementDefinition.definition [ fhir:value "Provides a reason why the expected value in the element Observation.value[x] is missing." ];
       fhir:ElementDefinition.comment [ fhir:value "\"Null\" or exceptional values can be represented two ways in FHIR Observations.  One way is to simply include them in the value set and represent the exceptions in the value.  For example, measurement values for a serology test could be  \"detected\", \"not detected\", \"inconclusive\", or  \"test not done\".   The alternate way is to use the value element for actual observations and use the explicit dataAbsentReason element to record exceptional values.  For example, the dataAbsentReason code \"error\" could be used when the measurement was not completed.  Because of these options, use-case agreements are required to interpret general observations for exceptional values." ];
       fhir:ElementDefinition.requirements [ fhir:value "For many results it is necessary to handle exceptional values in measurements." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.component.dataAbsentReason" ];
         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 "CodeableConcept" ]       ];
       fhir:ElementDefinition.condition [
         fhir:value "obs-6";
         fhir:index 0       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/data-absent-reason>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/data-absent-reason" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "value.nullFlavor" ]       ]     ], [
       fhir:index 123;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.interpretation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.interpretation" ];
       fhir:ElementDefinition.short [ fhir:value "High, low, normal, etc." ];
       fhir:ElementDefinition.definition [ fhir:value "The assessment made based on the result of the observation.  Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag." ];
       fhir:ElementDefinition.comment [ fhir:value "The component interpretation applies only to the individual component value.  For an overall interpretation all components together use thes Observation.interpretation element." ];
       fhir:ElementDefinition.requirements [ fhir:value "For some results, particularly numeric results, an interpretation is necessary to fully understand the significance of a result." ];
       fhir:ElementDefinition.alias [
         fhir:value "Abnormal Flag";
         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 "Observation.component.interpretation" ];
         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 "CodeableConcept" ]       ];
       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 "ObservationInterpretation" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes identifying interpretations of observations." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/observation-interpretation>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/observation-interpretation" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 260245000 |Findings values|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-8" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "interpretationCode" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-attr" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "363713009 |Has interpretation|" ]       ]     ], [
       fhir:index 124;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.referenceRange" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange" ];
       fhir:ElementDefinition.short [ fhir:value "Provides guide for interpretation of component result" ];
       fhir:ElementDefinition.definition [ fhir:value "Guidance on how to interpret the value by comparison to a normal or recommended range." ];
       fhir:ElementDefinition.comment [ fhir:value "Most observations only have one generic reference range. Systems MAY choose to restrict to only supplying the relevant reference range based on knowledge about the patient (e.g., specific to the patient's age, gender, weight and other factors), but this may not be possible or appropriate. Whenever more than one reference range is supplied, the differences between them SHOULD be provided in the reference range and/or age properties." ];
       fhir:ElementDefinition.requirements [ fhir:value "Knowing what values are considered \"normal\" can help evaluate the significance of a particular result. Need to be able to provide multiple reference ranges for different contexts." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Observation.component.referenceRange" ];
         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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX.7" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" ]       ]     ], [
       fhir:index 125;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.referenceRange.id" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.id" ];
       fhir:ElementDefinition.representation [
         fhir:value "xmlAttr";
         fhir:index 0       ];
       fhir:ElementDefinition.short [ fhir:value "xml:id (or equivalent in JSON)" ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 126;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.referenceRange.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.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. In order 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." ];
       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.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ]       ]     ], [
       fhir:index 127;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.referenceRange.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order 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." ];
       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: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.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 128;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.referenceRange.low" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.low" ];
       fhir:ElementDefinition.short [ fhir:value "Low Range, if relevant" ];
       fhir:ElementDefinition.definition [ fhir:value "The value of the low bound of the reference range.  The low bound of the reference range endpoint is inclusive of the value (e.g.  reference range is >=5 - <=9).   If the low bound is omitted,  it is assumed to be meaningless (e.g. reference range is <=2.3)." ];
       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 "Quantity" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]       ];
       fhir:ElementDefinition.condition [
         fhir:value "obs-3";
         fhir:index 0       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-7" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "value:IVL_PQ.low" ]       ]     ], [
       fhir:index 129;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.referenceRange.high" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.high" ];
       fhir:ElementDefinition.short [ fhir:value "High Range, if relevant" ];
       fhir:ElementDefinition.definition [ fhir:value "The value of the high bound of the reference range.  The high bound of the reference range endpoint is inclusive of the value (e.g.  reference range is >=5 - <=9).   If the high bound is omitted,  it is assumed to be meaningless (e.g. reference range is >= 2.3)." ];
       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 "Quantity" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" ]       ];
       fhir:ElementDefinition.condition [
         fhir:value "obs-3";
         fhir:index 0       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-7" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "value:IVL_PQ.high" ]       ]     ], [
       fhir:index 130;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.referenceRange.type" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.type" ];
       fhir:ElementDefinition.short [ fhir:value "Reference range qualifier" ];
       fhir:ElementDefinition.definition [ fhir:value "Codes to indicate the what part of the targeted reference population it applies to. For example, the normal or therapeutic range." ];
       fhir:ElementDefinition.comment [ fhir:value "This SHOULD be populated if there is more than one range.  If this element is not present then the normal range is assumed." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to be able to say what kind of reference range this is - normal, recommended, therapeutic, etc,  - for proper interpretation." ];
       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 "CodeableConcept" ]       ];
       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 "ObservationRangeMeaning" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Code for the meaning of a reference range." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/referencerange-meaning>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/referencerange-meaning" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 260245000 |Findings values| OR  \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR  \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-10" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "interpretationCode" ]       ]     ], [
       fhir:index 131;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.referenceRange.appliesTo" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.appliesTo" ];
       fhir:ElementDefinition.short [ fhir:value "Reference range population" ];
       fhir:ElementDefinition.definition [ fhir:value "Codes to indicate the target population this reference range applies to.  For example, a reference range may be based on the normal population or a particular sex or race." ];
       fhir:ElementDefinition.comment [ fhir:value "This SHOULD be populated if there is more than one range.  If this element is not present then the normal population is assumed." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to be able to identify the target population for proper interpretation." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       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 "ObservationRangeType" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes identifying the population the reference range applies to." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/referencerange-appliesto>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/referencerange-appliesto" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 260245000 |Findings values| OR  \r< 365860008 |General clinical state finding| \rOR \r< 250171008 |Clinical history or observation findings| OR  \r< 415229000 |Racial group| OR \r< 365400002 |Finding of puberty stage| OR\r< 443938003 |Procedure carried out on subject|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-10" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "interpretationCode" ]       ]     ], [
       fhir:index 132;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.referenceRange.age" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.age" ];
       fhir:ElementDefinition.short [ fhir:value "Applicable age range, if relevant" ];
       fhir:ElementDefinition.definition [ fhir:value "The age at which this reference range is applicable. This is a neonatal age (e.g. number of weeks at term) if the meaning says so." ];
       fhir:ElementDefinition.requirements [ fhir:value "Some analytes vary greatly over age." ];
       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 "Range" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" ]       ]     ], [
       fhir:index 133;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.referenceRange.text" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange.text" ];
       fhir:ElementDefinition.short [ fhir:value "Text based reference range in an observation" ];
       fhir:ElementDefinition.definition [ fhir:value "Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation.  An example would be a reference value of \"Negative\" or a list or table of 'normals'." ];
       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 "string" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "OBX-7" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "value:ST" ]       ]     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.differential.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation" ];
       fhir:ElementDefinition.path [ fhir:value "Observation" ];
       fhir:ElementDefinition.short [ fhir:value "SW WoundBedColorObservation Profile" ];
       fhir:ElementDefinition.definition [ fhir:value "Color of part or all of the wound base (bed), and the percentage of the area with that color." ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:deltaflag" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "deltaflag" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicator of significant change (delta) from the last or previous measurement." ];
       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 "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/StructureDefinition/observation-delta" ]       ]     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:recorded" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "recorded" ];
       fhir:ElementDefinition.definition [ fhir:value "The person who entered the order on behalf of another individual for example in the case of a verbal or a telephone order." ];
       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 "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-core-Recorded-extension" ]       ]     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:signed" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "signed" ];
       fhir:ElementDefinition.definition [ fhir:value "Provenance information specific to the signing of the clinical statement." ];
       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 "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-core-Signed-extension" ]       ]     ], [
       fhir:index 5;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "contextcode" ];
       fhir:ElementDefinition.definition [ fhir:value "Code representing the sense in which the statement is interpreted, for example, the degree of presence in a PresenceStatement." ];
       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 "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-statement-ContextCode-extension" ]       ]     ], [
       fhir:index 6;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.valueCodeableConcept" ]     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept.coding" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.valueCodeableConcept.coding" ];
       fhir:ElementDefinition.slicing [
         fhir:Element.id [ fhir:value "6" ];
         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 8;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept.coding:Fixed_424975005" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.valueCodeableConcept.coding" ];
       fhir:ElementDefinition.sliceName [ fhir:value "Fixed_424975005" ];
       fhir:ElementDefinition.short [ fhir:value "Record Entity" ];
       fhir:ElementDefinition.definition [ fhir:value "Record Entity" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Coding" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept.coding:Fixed_424975005.system" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.valueCodeableConcept.coding.system" ];
       fhir:ElementDefinition.fixedUri [ fhir:value "http://snomed.info/sct" ]     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:contextcode.valueCodeableConcept.coding:Fixed_424975005.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension.valueCodeableConcept.coding.code" ];
       fhir:ElementDefinition.fixedCode [ fhir:value "424975005" ]     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:media" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "media" ];
       fhir:ElementDefinition.definition [ fhir:value "A file that contains audio, video, image, or similar content." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-datatypes-Media-extension" ]       ]     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:precondition" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "precondition" ];
       fhir:ElementDefinition.definition [ fhir:value "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-statement-Precondition-extension" ]       ]     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.extension:woundidentifier" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "woundidentifier" ];
       fhir:ElementDefinition.definition [ fhir:value "A human-readable identifier for the lesion; e.g., a letter or integer." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Extension" ];
         fhir:ElementDefinition.type.profile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/sw-WoundIdentifier-extension" ]       ]     ], [
       fhir:index 14;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.category" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.category" ];
       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 "ObservationCategory" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes for high level observation categories." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/observation-category>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/observation-category" ]         ]       ]     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.context" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.context" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-encounter-Encounter" ]       ]     ], [
       fhir:index 16;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.value[x]" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.value[x]" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Quantity" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.type.code [ fhir:value "boolean" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.type.code [ fhir:value "Range" ]       ], [
         fhir:index 5;
         fhir:ElementDefinition.type.code [ fhir:value "Ratio" ]       ], [
         fhir:index 6;
         fhir:ElementDefinition.type.code [ fhir:value "time" ]       ], [
         fhir:index 7;
         fhir:ElementDefinition.type.code [ fhir:value "dateTime" ]       ], [
         fhir:index 8;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ]     ], [
       fhir:index 17;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.dataAbsentReason" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.dataAbsentReason" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/data-absent-reason>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/data-absent-reason" ]         ]       ]     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.bodySite" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.bodySite" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/us/sw/ValueSet/cimi-element-AnatomicalLocationVS>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/us/sw/ValueSet/cimi-element-AnatomicalLocationVS" ]         ]       ]     ], [
       fhir:index 19;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.method" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.method" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/us/sw/ValueSet/cimi-statement-FindingMethodVS>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/us/sw/ValueSet/cimi-statement-FindingMethodVS" ]         ]       ]     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.specimen" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.specimen" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-entity-Specimen" ]       ]     ], [
       fhir:index 21;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.device" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.device" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-entity-Device" ]       ]     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.referenceRange" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ]     ], [
       fhir:index 23;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.referenceRange.appliesTo" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.referenceRange.appliesTo" ];
       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 "ObservationRangeType" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes identifying the population the reference range applies to." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/referencerange-appliesto>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/referencerange-appliesto" ]         ]       ]     ], [
       fhir:index 24;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.related" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.related" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ]     ], [
       fhir:index 25;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.related.type" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.related.type" ];
       fhir:ElementDefinition.fixedCode [ fhir:value "has-member" ]     ], [
       fhir:index 26;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.related.target" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.related.target" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-statement-Observation" ]       ]     ], [
       fhir:index 27;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component" ];
       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 "coding.code" ]         ];
         fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ];
         fhir:ElementDefinition.slicing.rules [ fhir:value "open" ]       ];
       fhir:ElementDefinition.min [ fhir:value "2"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ]     ], [
       fhir:index 28;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component" ];
       fhir:ElementDefinition.sliceName [ fhir:value "sw-WoundBedColor" ];
       fhir:ElementDefinition.short [ fhir:value "WoundBedColor" ];
       fhir:ElementDefinition.definition [ fhir:value "Color of Wound base (bed)." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ]     ], [
       fhir:index 29;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code" ]     ], [
       fhir:index 30;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code.coding" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code.coding" ];
       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 "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 31;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code.coding:Fixed_39132-6" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code.coding" ];
       fhir:ElementDefinition.sliceName [ fhir:value "Fixed_39132-6" ];
       fhir:ElementDefinition.definition [ fhir:value "A reference to a code defined by a terminology system." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Coding" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 32;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code.coding:Fixed_39132-6.system" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code.coding.system" ];
       fhir:ElementDefinition.fixedUri [ fhir:value "http://loinc.org" ]     ], [
       fhir:index 33;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.code.coding:Fixed_39132-6.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code.coding.code" ];
       fhir:ElementDefinition.fixedCode [ fhir:value "39132-6" ]     ], [
       fhir:index 34;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.valueCodeableConcept" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.valueCodeableConcept" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1181.7/expansion>;
           fhir:Reference.reference [ fhir:value "https://vsac.nlm.nih.gov/valueset/2.16.840.1.113762.1.4.1181.7/expansion" ]         ]       ]     ], [
       fhir:index 35;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.dataAbsentReason" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.dataAbsentReason" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/data-absent-reason>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/data-absent-reason" ]         ]       ]     ], [
       fhir:index 36;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColor.referenceRange" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.referenceRange" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ]     ], [
       fhir:index 37;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component" ];
       fhir:ElementDefinition.sliceName [ fhir:value "sw-WoundBedColorAreaPercentage" ];
       fhir:ElementDefinition.short [ fhir:value "WoundBedColorAreaPercentage" ];
       fhir:ElementDefinition.definition [ fhir:value "Wound bed area identified by color/​Area of wound bed." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ]     ], [
       fhir:index 38;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code" ]     ], [
       fhir:index 39;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code.coding" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code.coding" ];
       fhir:ElementDefinition.slicing [
         fhir:Element.id [ fhir:value "3" ];
         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 40;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code.coding:Fixed_89255-4" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code.coding" ];
       fhir:ElementDefinition.sliceName [ fhir:value "Fixed_89255-4" ];
       fhir:ElementDefinition.definition [ fhir:value "A reference to a code defined by a terminology system." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Coding" ]       ];
       fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ]     ], [
       fhir:index 41;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code.coding:Fixed_89255-4.system" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code.coding.system" ];
       fhir:ElementDefinition.fixedUri [ fhir:value "http://loinc.org" ]     ], [
       fhir:index 42;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.code.coding:Fixed_89255-4.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.code.coding.code" ];
       fhir:ElementDefinition.fixedCode [ fhir:value "89255-4" ]     ], [
       fhir:index 43;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.valueQuantity" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.valueQuantity" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Quantity" ]       ]     ], [
       fhir:index 44;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.valueQuantity.system" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.valueQuantity.system" ];
       fhir:ElementDefinition.fixedUri [ fhir:value "http://unitsofmeasure.org" ]     ], [
       fhir:index 45;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.valueQuantity.code" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.valueQuantity.code" ];
       fhir:ElementDefinition.fixedCode [ fhir:value "%" ]     ], [
       fhir:index 46;
       fhir:Element.id [ fhir:value "Observation:sw-WoundBedColorObservation.component:sw-WoundBedColorAreaPercentage.dataAbsentReason" ];
       fhir:ElementDefinition.path [ fhir:value "Observation.component.dataAbsentReason" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/data-absent-reason>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/data-absent-reason" ]         ]       ]     ]
  ].

<http://hl7.org/fhir/ValueSet/all-languages> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/languages> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/observation-status> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/observation-category> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/observation-codes> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/data-absent-reason> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/observation-interpretation> a fhir:ValueSet.

<http://hl7.org/fhir/us/sw/ValueSet/cimi-element-AnatomicalLocationVS> a fhir:us.

<http://hl7.org/fhir/us/sw/ValueSet/cimi-statement-FindingMethodVS> a fhir:us.

<http://hl7.org/fhir/ValueSet/referencerange-meaning> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/referencerange-appliesto> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/observation-relationshiptypes> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/quantity-comparator> a fhir:ValueSet.

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

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