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

ConditionPresenceStatementProfile

@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 "cimi-statement-ConditionPresenceStatement"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n  <p><b>SW ConditionPresenceStatement Profile</b></p>\n  <p>A condition that is or may be present in a subject. 'Condition' is interpreted broadly and could be a disorder, abnormality, problem, injury, complaint, functionality, illness, disease, ailment, sickness, affliction, upset, difficulty, disorder, symptom, worry, or trouble.</p>\n  <p><b>SW Mapping Summary</b></p>\n  <p><pre>cimi.statement.ConditionPresenceStatement maps to http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition:\n  Category maps to category\r\n  TopicCode maps to code\r\n  constrain bodySite to 0..0\n  AnatomicalLocation maps to http://hl7.org/fhir/StructureDefinition/condition-targetBodySite \r\n  Encounter maps to context\r\n  ClinicalStatus maps to clinicalStatus\r\n  VerificationStatus maps to verificationStatus\r\n  Onset maps to onset[x]\r\n  Abatement maps to abatement[x]\r\n  Severity maps to severity\r\n  Stage maps to stage\r\n  Stage.CodeableConcept maps to stage.summary\r\n  Stage.StageDetail maps to stage.assessment\r\n</pre></p>\n</div>"
  ];
  fhir:StructureDefinition.url [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-statement-ConditionPresenceStatement"];
  fhir:StructureDefinition.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://hl7.org/fhir/us/sw" ];
     fhir:Identifier.value [ fhir:value "cimi.statement.ConditionPresenceStatement" ]
  ];
  fhir:StructureDefinition.version [ fhir:value "1.0.0"];
  fhir:StructureDefinition.name [ fhir:value "ConditionPresenceStatementProfile"];
  fhir:StructureDefinition.title [ fhir:value "SW ConditionPresenceStatement 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 "A condition that is or may be present in a subject. 'Condition' is interpreted broadly and could be a disorder, abnormality, problem, injury, complaint, functionality, illness, disease, ailment, sickness, affliction, upset, difficulty, disorder, symptom, worry, or trouble."];
  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 "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 2;
     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 3;
     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 4;
     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 5;
     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 "Condition"];
  fhir:StructureDefinition.baseDefinition [ fhir:value "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition"];
  fhir:StructureDefinition.derivation [ fhir:value "constraint"];
  fhir:StructureDefinition.snapshot [
     fhir:StructureDefinition.snapshot.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement" ];
       fhir:ElementDefinition.path [ fhir:value "Condition" ];
       fhir:ElementDefinition.short [ fhir:value "SW ConditionPresenceStatement Profile" ];
       fhir:ElementDefinition.definition [ fhir:value "A condition that is or may be present in a subject. 'Condition' is interpreted broadly and could be a disorder, abnormality, problem, injury, complaint, functionality, illness, disease, ailment, sickness, affliction, upset, difficulty, disorder, symptom, worry, or trouble." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition" ];
         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 "con-4" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "abatement.empty() or (abatement as boolean).not()  or clinicalStatus='resolved' or clinicalStatus='remission' or clinicalStatus='inactive'" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:abatementBoolean/@value=true() or (not(exists(f:abatementBoolean)) and exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive'))" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "Condition" ]       ], [
         fhir:index 5;
         fhir:ElementDefinition.constraint.key [ fhir:value "con-3" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "verificationStatus='entered-in-error' or clinicalStatus.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" ];
         fhir:ElementDefinition.constraint.source [ fhir:value "Condition" ]       ], [
         fhir:index 6;
         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-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "warning" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "A code in Condition.category SHOULD be from US Core Condition Category Codes value set." ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "where(category in 'http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category').exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "(no xpath equivalent)" ]       ];
       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 "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 243796009 |Situation with explicit context|:\n246090004 |Associated finding| =\n((< 404684003 |Clinical finding| MINUS\n<< 420134006 |Propensity to adverse reactions| MINUS \n<< 473010000 |Hypersensitivity condition| MINUS \n<< 79899007 |Drug interaction| MINUS\n<< 69449002 |Drug action| MINUS \n<< 441742003 |Evaluation finding| MINUS \n<< 307824009 |Administrative status| MINUS \n<< 385356007 |Tumor stage finding|) OR\n< 272379006 |Event|)" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PPR message" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value<Diagnosis]" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "clinical.general" ]       ], [
         fhir:index 5;
         fhir:ElementDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Condition" ]       ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.id" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 "Condition:cimi-statement-ConditionPresenceStatement.meta" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 "Condition:cimi-statement-ConditionPresenceStatement.implicitRules" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 "Condition:cimi-statement-ConditionPresenceStatement.language" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 "Condition:cimi-statement-ConditionPresenceStatement.text" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 "Condition:cimi-statement-ConditionPresenceStatement.contained" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 "Condition:cimi-statement-ConditionPresenceStatement.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       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 "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 "Condition:cimi-statement-ConditionPresenceStatement.extension:anatomicallocation" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "anatomicallocation" ];
       fhir:ElementDefinition.definition [ fhir:value "A location or structure in the body, including tissues, regions, cavities, and spaces; for example, right elbow, or left ventricle of the heart." ];
       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/StructureDefinition/condition-targetBodySite" ]       ]     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:personofrecord" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "personofrecord" ];
       fhir:ElementDefinition.definition [ fhir:value "The person this entry belongs to." ];
       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/cimi-core-PersonOfRecord-extension" ]       ]     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:recorded" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 11;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:signed" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 12;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:additionaltext" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "additionaltext" ];
       fhir:ElementDefinition.definition [ fhir:value "A text note containing additional details, explanation, description, comment, or summarization. Details can discuss, support, explain changes to, or dispute information." ];
       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-AdditionalText-extension" ]       ]     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:contextcode" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 14;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:contextcode.id" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 15;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:contextcode.extension:extension" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 16;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:contextcode.url" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 17;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:contextcode.valueCodeableConcept" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/us/sw/ValueSet/cimi-statement-PresenceContextVS>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/us/sw/ValueSet/cimi-statement-PresenceContextVS" ]         ]       ];
       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 "Condition:cimi-statement-ConditionPresenceStatement.extension:statementtopic" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "statementtopic" ];
       fhir:ElementDefinition.definition [ fhir:value "Compositional and reusable grouping of clinical statement attributes that make up the clinical focus of a statement.\n\nStatementTopic class attributes are aligned with SNOMED CT Concept Model attributes when such an overlap exists. Note that this class does not include contextual attributes such as the nature of the action (ordered, proposed, planned, etc...), the nature of the patient state being described (e.g., present, suspected present, absent), and the attribution of this information (the who, when, where, how, why of the information recorded)." ];
       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-topic-StatementTopic-extension" ]       ]     ], [
       fhir:index 19;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:interpretation" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "interpretation" ];
       fhir:ElementDefinition.definition [ fhir:value "A clinical interpretation of a finding (applies to both assertions and observation)." ];
       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-Interpretation-extension" ]       ]     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:relevanttime" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "relevanttime" ];
       fhir:ElementDefinition.definition [ fhir:value "The time or time period that the finding addresses.\nThe clinically relevant time is not necessarily when the information is gathered or when a test is carried out, but for example, when a specimen was collected, or the time period referred to by the question. Use a TimePeriod for a measurement or specimen collection continued over a significant period of time (e.g. 24 hour Urine Sodium)." ];
       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-RelevantTime-extension" ]       ]     ], [
       fhir:index 21;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:findingmethod" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "findingmethod" ];
       fhir:ElementDefinition.definition [ fhir:value "The technique used to create the finding, for example, the specific imaging technical, lab test code, or assessment vehicle." ];
       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-FindingMethod-extension" ]       ]     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:media" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 23;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:certainty" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "certainty" ];
       fhir:ElementDefinition.definition [ fhir:value "The degree of confidence in a conclusion or assertion." ];
       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-Certainty-extension" ]       ]     ], [
       fhir:index 24;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:conditioncause" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "conditioncause" ];
       fhir:ElementDefinition.definition [ fhir:value "The cause of the condition. This includes such causes as disease vectors and endogenous states (e.g., macular degeneration due to diabetes), substances, medications, micro-organisms, and forces associated with the occurrence of a Condition from temporal or causative perspectives" ];
       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-ConditionCause-extension" ]       ]     ], [
       fhir:index 25;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:conditionidentifier" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "conditionidentifier" ];
       fhir:ElementDefinition.definition [ fhir:value "A human-readable identifier for the condition at the finding site, for example, a wound number or tumor identifier." ];
       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-ConditionIdentifier-extension" ]       ]     ], [
       fhir:index 26;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:whenclinicallyrecognized" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "whenclinicallyrecognized" ];
       fhir:ElementDefinition.definition [ fhir:value "The time at which a condition or condition was first identified in a healthcare context." ];
       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-WhenClinicallyRecognized-extension" ]       ]     ], [
       fhir:index 27;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:presentonadmission" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "presentonadmission" ];
       fhir:ElementDefinition.definition [ fhir:value "If the problem or condition existed before the current episode of care." ];
       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-PresentOnAdmission-extension" ]       ]     ], [
       fhir:index 28;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:criticality" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "criticality" ];
       fhir:ElementDefinition.definition [ fhir:value "The potential clinical harm associated with a condition. When the worst case result is assessed to have a life-threatening or organ system threatening potential, it is considered to be of high criticality." ];
       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-Criticality-extension" ]       ]     ], [
       fhir:index 29;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 30;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.identifier" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.identifier" ];
       fhir:ElementDefinition.short [ fhir:value "External Ids for this condition" ];
       fhir:ElementDefinition.definition [ fhir:value "This records identifiers associated with this condition that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)." ];
       fhir:ElementDefinition.requirements [ fhir:value "Need to allow connection to a wider workflow." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.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 "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".id" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "id" ]       ]     ], [
       fhir:index 31;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.clinicalStatus" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.clinicalStatus" ];
       fhir:ElementDefinition.short [ fhir:value "active | recurrence | inactive | remission | resolved" ];
       fhir:ElementDefinition.definition [ fhir:value "The clinical status of the condition." ];
       fhir:ElementDefinition.comment [ fhir:value "This element is labeled as a modifier because the status contains codes that mark the condition as not currently valid or of concern." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.clinicalStatus" ];
         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.condition [
         fhir:value "con-3";
         fhir:index 0       ], [
         fhir:value "con-4";
         fhir:index 1       ];
       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/condition-clinical>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/condition-clinical" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 303105007 |Disease phases|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PRB-14 / DG1-6" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "status" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Condition.clinicalStatus" ]       ]     ], [
       fhir:index 32;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.verificationStatus" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.verificationStatus" ];
       fhir:ElementDefinition.short [ fhir:value "provisional | differential | confirmed | refuted | entered-in-error | unknown" ];
       fhir:ElementDefinition.definition [ fhir:value "The verification status to support the clinical status of the condition." ];
       fhir:ElementDefinition.comment [ fhir:value "verificationStatus is not required.  For example, when a patient has abdominal pain in the ED, there is not likely going to be a verification status.\n\nThis element is labeled as a modifier because the status contains the code refuted and entered-in-error that mark the Condition as not currently valid." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.verificationStatus" ];
         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.defaultValueCode [ fhir:value "unknown" ];
       fhir:ElementDefinition.condition [
         fhir:value "con-3";
         fhir:index 0       ];
       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/condition-ver-status>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/condition-ver-status" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 410514004 |Finding context value|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PRB-13" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Observation ACT\n.inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-attr" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "408729009" ]       ], [
         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 "Condition.verificationStatus" ]       ]     ], [
       fhir:index 33;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.category" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.category" ];
       fhir:ElementDefinition.short [ fhir:value "problem-list-item | encounter-diagnosis" ];
       fhir:ElementDefinition.definition [ fhir:value "A category assigned to the condition." ];
       fhir:ElementDefinition.comment [ fhir:value "The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts." ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.category" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ]       ];
       fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/us/sw/ValueSet/shr-core-ConditionCategoryVS>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/us/sw/ValueSet/shr-core-ConditionCategoryVS" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 404684003 |Clinical finding|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message" ]       ], [
         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 "class" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Condition.category" ]       ]     ], [
       fhir:index 34;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.severity" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.severity" ];
       fhir:ElementDefinition.short [ fhir:value "Subjective severity of condition" ];
       fhir:ElementDefinition.definition [ fhir:value "A subjective assessment of the severity of the condition as evaluated by the clinician." ];
       fhir:ElementDefinition.comment [ fhir:value "Coding of the severity with a terminology is preferred, where possible." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.severity" ];
         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 "ConditionSeverity" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A subjective assessment of the severity of the condition as evaluated by the clinician." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/condition-severity>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/condition-severity" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 272141005 |Severities|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PRB-26 / ABS-3" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Can be pre/post-coordinated into value.  Or ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"severity\"].value" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-attr" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "246112005" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "grade" ]       ]     ], [
       fhir:index 35;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.code" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.code" ];
       fhir:ElementDefinition.short [ fhir:value "Identification of the condition, problem or diagnosis" ];
       fhir:ElementDefinition.definition [ fhir:value "Identification of the condition, problem or diagnosis." ];
       fhir:ElementDefinition.requirements [ fhir:value "0..1 to account for primarily narrative only resources." ];
       fhir:ElementDefinition.alias [
         fhir:value "type";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.code" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "1" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "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 "Valueset to describe the actual problem experienced by the patient" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/us/core/ValueSet/us-core-problem>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/us/core/ValueSet/us-core-problem" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "code 246090004 |Associated finding| (< 404684003 |Clinical finding| MINUS\n<< 420134006 |Propensity to adverse reactions| MINUS \n<< 473010000 |Hypersensitivity condition| MINUS \n<< 79899007 |Drug interaction| MINUS\n<< 69449002 |Drug action| MINUS \n<< 441742003 |Evaluation finding| MINUS \n<< 307824009 |Administrative status| MINUS \n<< 385356007 |Tumor stage finding|) \nOR < 413350009 |Finding with explicit context|\nOR < 272379006 |Event|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PRB-3" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".value" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-attr" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "246090004" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "what" ]       ], [
         fhir:index 5;
         fhir:ElementDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Condition.code" ]       ]     ], [
       fhir:index 36;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.bodySite" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.bodySite" ];
       fhir:ElementDefinition.short [ fhir:value "Anatomical location, if relevant" ];
       fhir:ElementDefinition.definition [ fhir:value "The anatomical location where this condition manifests itself." ];
       fhir:ElementDefinition.comment [ fhir:value "Only used if not implicit in code found in Condition.code. If the use case requires attributes from the BodySite resource (e.g. to identify and track separately) then use the standard extension [body-site-instance](extension-body-site-instance.html).  May be a summary code, or a reference to a very precise definition of the location, or both." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.bodySite" ];
         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.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 "BodySite" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes describing anatomical locations. May include laterality." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/body-site>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/body-site" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 442083009  |Anatomical or acquired body structure|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".targetBodySiteCode" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-attr" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "363698007" ]       ]     ], [
       fhir:index 37;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.subject" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.subject" ];
       fhir:ElementDefinition.short [ fhir:value "Who has the condition?" ];
       fhir:ElementDefinition.definition [ fhir:value "Indicates the patient or group who the condition record is associated with." ];
       fhir:ElementDefinition.requirements [ fhir:value "Group is typically used for veterinary or public health use cases." ];
       fhir:ElementDefinition.alias [
         fhir:value "patient";
         fhir:index 0       ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.subject" ];
         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/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 "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PID-3" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=SBJ].role[classCode=PAT]" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "who.focus" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.mapping.identity [ fhir:value "argonaut-dq-dstu2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "Condition.patient" ]       ]     ], [
       fhir:index 38;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.context" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.context" ];
       fhir:ElementDefinition.short [ fhir:value "Encounter or episode when condition first asserted" ];
       fhir:ElementDefinition.definition [ fhir:value "Encounter during which the condition was first asserted." ];
       fhir:ElementDefinition.comment [ fhir:value "This record indicates the encounter this particular record is associated with.  In the case of a \"new\" diagnosis reflecting ongoing/revised information about the condition, this might be distinct from the first encounter in which the underlying condition was first \"known\"." ];
       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 "Condition.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.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 "PV1-19 (+PV1-54)" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "context" ]       ]     ], [
       fhir:index 39;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.onset[x]" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.onset[x]" ];
       fhir:ElementDefinition.short [ fhir:value "Estimated or actual date,  date-time, or age" ];
       fhir:ElementDefinition.definition [ fhir:value "Estimated or actual date or date-time  the condition began, in the opinion of the clinician." ];
       fhir:ElementDefinition.comment [ fhir:value "Age is generally used when the patient reports an age at which the Condition began to occur." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.onset[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 "Age" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.type.code [ fhir:value "Range" ]       ], [
         fhir:index 4;
         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 "PRB-16" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at onset\"].value" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "when.init" ]       ]     ], [
       fhir:index 40;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.abatement[x]" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.abatement[x]" ];
       fhir:ElementDefinition.short [ fhir:value "If/when in resolution/remission" ];
       fhir:ElementDefinition.definition [ fhir:value "The date or estimated date that the condition resolved or went into remission. This is called \"abatement\" because of the many overloaded connotations associated with \"remission\" or \"resolution\" - Conditions are never really resolved, but they can abate." ];
       fhir:ElementDefinition.comment [ fhir:value "There is no explicit distinction between resolution and remission because in many cases the distinction is not clear. Age is generally used when the patient reports an age at which the Condition abated.  If there is no abatement element, it is unknown whether the condition has resolved or entered remission; applications and users should generally assume that the condition is still valid.  When abatementString exists, it implies the condition is abated." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.abatement[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 "Age" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.type.code [ fhir:value "boolean" ]       ], [
         fhir:index 3;
         fhir:ElementDefinition.type.code [ fhir:value "Period" ]       ], [
         fhir:index 4;
         fhir:ElementDefinition.type.code [ fhir:value "Range" ]       ], [
         fhir:index 5;
         fhir:ElementDefinition.type.code [ fhir:value "string" ]       ];
       fhir:ElementDefinition.condition [
         fhir:value "con-4";
         fhir:index 0       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"age at remission\"].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "when.done" ]       ]     ], [
       fhir:index 41;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.assertedDate" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.assertedDate" ];
       fhir:ElementDefinition.short [ fhir:value "Date record was believed accurate" ];
       fhir:ElementDefinition.definition [ fhir:value "The date on which the existance of the Condition was first asserted or acknowledged." ];
       fhir:ElementDefinition.comment [ fhir:value "The assertedDate represents the date when this particular Condition record was created in the EHR, not the date of the most recent update in terms of when severity, abatement, etc. were specified.  The date of the last record modification can be retrieved from the resource metadata." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.assertedDate" ];
         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: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 "REL-11" ]       ], [
         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 42;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.asserter" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.asserter" ];
       fhir:ElementDefinition.short [ fhir:value "Person who asserts this condition" ];
       fhir:ElementDefinition.definition [ fhir:value "Individual who is making the condition statement." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.asserter" ];
         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/StructureDefinition/Practitioner" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Patient" ]       ], [
         fhir:index 2;
         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 "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "REL-7.1 identifier + REL-7.12 type code" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=AUT].role" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "who.author" ]       ]     ], [
       fhir:index 43;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.stage" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.stage" ];
       fhir:ElementDefinition.short [ fhir:value "Stage/grade, usually assessed formally" ];
       fhir:ElementDefinition.definition [ fhir:value "Clinical stage or grade of a condition. May include formal severity assessments." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.stage" ];
         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 "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 "con-1" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "Stage SHALL have summary or assessment" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "summary.exists() or assessment.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:summary) or exists(f:assessment)" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]" ]       ]     ], [
       fhir:index 44;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.stage.id" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.stage.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 45;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.stage.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.stage.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 46;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.stage.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.stage.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 47;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.stage.summary" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.stage.summary" ];
       fhir:ElementDefinition.short [ fhir:value "Simple summary (disease specific)" ];
       fhir:ElementDefinition.definition [ fhir:value "A simple summary of the stage such as \"Stage 3\". The determination of the stage is disease-specific." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.stage.summary" ];
         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 "con-1";
         fhir:index 0       ];
       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 "ConditionStage" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes describing condition stages (e.g. Cancer stages)." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/condition-stage>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/condition-stage" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 254291000 |Staging and scales|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "PRB-14" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".value" ]       ]     ], [
       fhir:index 48;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.stage.assessment" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.stage.assessment" ];
       fhir:ElementDefinition.short [ fhir:value "Formal record of assessment" ];
       fhir:ElementDefinition.definition [ fhir:value "Reference to a formal record of the evidence on which the staging assessment is based." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.stage.assessment" ];
         fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
         fhir:ElementDefinition.base.max [ fhir:value "*" ]       ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-statement-Observation" ]       ];
       fhir:ElementDefinition.condition [
         fhir:value "con-1";
         fhir:index 0       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".self" ]       ]     ], [
       fhir:index 49;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.evidence" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.evidence" ];
       fhir:ElementDefinition.short [ fhir:value "Supporting evidence" ];
       fhir:ElementDefinition.definition [ fhir:value "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed." ];
       fhir:ElementDefinition.comment [ fhir:value "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.evidence" ];
         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 "con-2" ];
         fhir:ElementDefinition.constraint.severity [ fhir:value "error" ];
         fhir:ElementDefinition.constraint.human [ fhir:value "evidence SHALL have code or details" ];
         fhir:ElementDefinition.constraint.expression [ fhir:value "code.exists() or detail.exists()" ];
         fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:code) or exists(f:detail)" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]" ]       ]     ], [
       fhir:index 50;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.evidence.id" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.evidence.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 51;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.evidence.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.evidence.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 52;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.evidence.modifierExtension" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.evidence.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 53;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.evidence.code" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.evidence.code" ];
       fhir:ElementDefinition.short [ fhir:value "Manifestation/symptom" ];
       fhir:ElementDefinition.definition [ fhir:value "A manifestation or symptom that led to the recording of this condition." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.evidence.code" ];
         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.condition [
         fhir:value "con-2";
         fhir:index 0       ];
       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 "ManifestationOrSymptom" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "example" ];
         fhir:ElementDefinition.binding.description [ fhir:value "Codes that describe the manifestation or symptoms of a condition." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/manifestation-or-symptom>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/manifestation-or-symptom" ]         ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "sct-concept" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "< 404684003 |Clinical finding|" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "[code=\"diagnosis\"].value" ]       ], [
         fhir:index 2;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "why" ]       ]     ], [
       fhir:index 54;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.evidence.detail" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.evidence.detail" ];
       fhir:ElementDefinition.short [ fhir:value "Supporting information found elsewhere" ];
       fhir:ElementDefinition.definition [ fhir:value "Links to other relevant information, including pathology reports." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.evidence.detail" ];
         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/Resource" ]       ];
       fhir:ElementDefinition.condition [
         fhir:value "con-2";
         fhir:index 0       ];
       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 ".self" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "why" ]       ]     ], [
       fhir:index 55;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.note" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.note" ];
       fhir:ElementDefinition.short [ fhir:value "Additional information about the Condition" ];
       fhir:ElementDefinition.definition [ fhir:value "Additional information about the Condition. This is a general notes/comments entry  for description of the Condition, its diagnosis and prognosis." ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ];
       fhir:ElementDefinition.base [
         fhir:ElementDefinition.base.path [ fhir:value "Condition.note" ];
         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 "Annotation" ]       ];
       fhir:ElementDefinition.mapping [
         fhir:index 0;
         fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ];
         fhir:ElementDefinition.mapping.map [ fhir:value "NTE child of PRB" ]       ], [
         fhir:index 1;
         fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ];
         fhir:ElementDefinition.mapping.map [ fhir:value ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" ]       ]     ]
  ];
  fhir:StructureDefinition.differential [
     fhir:StructureDefinition.differential.element [
       fhir:index 0;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement" ];
       fhir:ElementDefinition.path [ fhir:value "Condition" ];
       fhir:ElementDefinition.short [ fhir:value "SW ConditionPresenceStatement Profile" ];
       fhir:ElementDefinition.definition [ fhir:value "A condition that is or may be present in a subject. 'Condition' is interpreted broadly and could be a disorder, abnormality, problem, injury, complaint, functionality, illness, disease, ailment, sickness, affliction, upset, difficulty, disorder, symptom, worry, or trouble." ];
       fhir:ElementDefinition.mustSupport [ fhir:value "false"^^xsd:boolean ]     ], [
       fhir:index 1;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "*" ]     ], [
       fhir:index 2;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:anatomicallocation" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "anatomicallocation" ];
       fhir:ElementDefinition.definition [ fhir:value "A location or structure in the body, including tissues, regions, cavities, and spaces; for example, right elbow, or left ventricle of the heart." ];
       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/StructureDefinition/condition-targetBodySite" ]       ]     ], [
       fhir:index 3;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:personofrecord" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "personofrecord" ];
       fhir:ElementDefinition.definition [ fhir:value "The person this entry belongs to." ];
       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/cimi-core-PersonOfRecord-extension" ]       ]     ], [
       fhir:index 4;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:recorded" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 5;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:signed" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 6;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:additionaltext" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "additionaltext" ];
       fhir:ElementDefinition.definition [ fhir:value "A text note containing additional details, explanation, description, comment, or summarization. Details can discuss, support, explain changes to, or dispute information." ];
       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-AdditionalText-extension" ]       ]     ], [
       fhir:index 7;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:contextcode" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 8;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:contextcode.valueCodeableConcept" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension.valueCodeableConcept" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/us/sw/ValueSet/cimi-statement-PresenceContextVS>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/us/sw/ValueSet/cimi-statement-PresenceContextVS" ]         ]       ]     ], [
       fhir:index 9;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:statementtopic" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "statementtopic" ];
       fhir:ElementDefinition.definition [ fhir:value "Compositional and reusable grouping of clinical statement attributes that make up the clinical focus of a statement.\n\nStatementTopic class attributes are aligned with SNOMED CT Concept Model attributes when such an overlap exists. Note that this class does not include contextual attributes such as the nature of the action (ordered, proposed, planned, etc...), the nature of the patient state being described (e.g., present, suspected present, absent), and the attribution of this information (the who, when, where, how, why of the information recorded)." ];
       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-topic-StatementTopic-extension" ]       ]     ], [
       fhir:index 10;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:interpretation" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "interpretation" ];
       fhir:ElementDefinition.definition [ fhir:value "A clinical interpretation of a finding (applies to both assertions and observation)." ];
       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-Interpretation-extension" ]       ]     ], [
       fhir:index 11;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:relevanttime" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "relevanttime" ];
       fhir:ElementDefinition.definition [ fhir:value "The time or time period that the finding addresses.\nThe clinically relevant time is not necessarily when the information is gathered or when a test is carried out, but for example, when a specimen was collected, or the time period referred to by the question. Use a TimePeriod for a measurement or specimen collection continued over a significant period of time (e.g. 24 hour Urine Sodium)." ];
       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-RelevantTime-extension" ]       ]     ], [
       fhir:index 12;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:findingmethod" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "findingmethod" ];
       fhir:ElementDefinition.definition [ fhir:value "The technique used to create the finding, for example, the specific imaging technical, lab test code, or assessment vehicle." ];
       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-FindingMethod-extension" ]       ]     ], [
       fhir:index 13;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:media" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 14;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:certainty" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "certainty" ];
       fhir:ElementDefinition.definition [ fhir:value "The degree of confidence in a conclusion or assertion." ];
       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-Certainty-extension" ]       ]     ], [
       fhir:index 15;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:conditioncause" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "conditioncause" ];
       fhir:ElementDefinition.definition [ fhir:value "The cause of the condition. This includes such causes as disease vectors and endogenous states (e.g., macular degeneration due to diabetes), substances, medications, micro-organisms, and forces associated with the occurrence of a Condition from temporal or causative perspectives" ];
       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-ConditionCause-extension" ]       ]     ], [
       fhir:index 16;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:conditionidentifier" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "conditionidentifier" ];
       fhir:ElementDefinition.definition [ fhir:value "A human-readable identifier for the condition at the finding site, for example, a wound number or tumor identifier." ];
       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-ConditionIdentifier-extension" ]       ]     ], [
       fhir:index 17;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:whenclinicallyrecognized" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "whenclinicallyrecognized" ];
       fhir:ElementDefinition.definition [ fhir:value "The time at which a condition or condition was first identified in a healthcare context." ];
       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-WhenClinicallyRecognized-extension" ]       ]     ], [
       fhir:index 18;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:presentonadmission" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "presentonadmission" ];
       fhir:ElementDefinition.definition [ fhir:value "If the problem or condition existed before the current episode of care." ];
       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-PresentOnAdmission-extension" ]       ]     ], [
       fhir:index 19;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.extension:criticality" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.extension" ];
       fhir:ElementDefinition.sliceName [ fhir:value "criticality" ];
       fhir:ElementDefinition.definition [ fhir:value "The potential clinical harm associated with a condition. When the worst case result is assessed to have a life-threatening or organ system threatening potential, it is considered to be of high criticality." ];
       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-Criticality-extension" ]       ]     ], [
       fhir:index 20;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.clinicalStatus" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.clinicalStatus" ];
       fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ]     ], [
       fhir:index 21;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.category" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.category" ];
       fhir:ElementDefinition.binding [
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/us/sw/ValueSet/shr-core-ConditionCategoryVS>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/us/sw/ValueSet/shr-core-ConditionCategoryVS" ]         ]       ]     ], [
       fhir:index 22;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.severity" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.severity" ];
       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 "ConditionSeverity" ]         ];
         fhir:ElementDefinition.binding.strength [ fhir:value "required" ];
         fhir:ElementDefinition.binding.description [ fhir:value "A subjective assessment of the severity of the condition as evaluated by the clinician." ];
         fhir:ElementDefinition.binding.valueSetReference [
           fhir:link <http://hl7.org/fhir/ValueSet/condition-severity>;
           fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/ValueSet/condition-severity" ]         ]       ]     ], [
       fhir:index 23;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.bodySite" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.bodySite" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "0" ]     ], [
       fhir:index 24;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.context" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.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 25;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.stage" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.stage" ]     ], [
       fhir:index 26;
       fhir:Element.id [ fhir:value "Condition:cimi-statement-ConditionPresenceStatement.stage.assessment" ];
       fhir:ElementDefinition.path [ fhir:value "Condition.stage.assessment" ];
       fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ];
       fhir:ElementDefinition.max [ fhir:value "1" ];
       fhir:ElementDefinition.type [
         fhir:index 0;
         fhir:ElementDefinition.type.code [ fhir:value "Reference" ];
         fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/us/sw/StructureDefinition/cimi-statement-Observation" ]       ]     ]
  ].

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

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

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

<http://hl7.org/fhir/ValueSet/condition-clinical> a fhir:ValueSet.

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

<http://hl7.org/fhir/us/sw/ValueSet/shr-core-ConditionCategoryVS> a fhir:us.

<http://hl7.org/fhir/ValueSet/condition-severity> a fhir:ValueSet.

<http://hl7.org/fhir/us/core/ValueSet/us-core-problem> a fhir:us.

<http://hl7.org/fhir/ValueSet/body-site> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/condition-stage> a fhir:ValueSet.

<http://hl7.org/fhir/ValueSet/manifestation-or-symptom> a fhir:ValueSet.

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

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