<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="spark1659" />
  <meta>
    <versionId value="spark2032" />
    <lastUpdated value="2015-11-20T12:54:05.635+00:00" />
  </meta>
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0" />
  </extension>
  <url value="http://nictiz.fhir.nl/fhir/StructureDefinition/counseling-22-peri20-Zwangerschap" />
  <name value="counseling-22-peri20-Zwangerschap" />
  <display value="Zwangerschap" />
  <status value="draft" />
  <date value="2015-09-22T20:02:49+10:00" />
  <description value="Base StructureDefinition for Condition Resource" />
  <fhirVersion value="1.0.1" />
  <mapping>
    <identity value="decor-nictiz-nl" />
    <name value="Data element in NICTIZ Decor" />
  </mapping>
  <kind value="resource" />
  <constrainedType value="Condition" />
  <abstract value="false" />
  <base value="http://hl7.org/fhir/StructureDefinition/Condition" />
  <differential>
    <element>
      <path value="Condition" />
      <short value="Detailed information about conditions, problems or diagnoses" />
      <definition value="Use to record detailed information about conditions, problems or diagnoses recognized by a clinician. There are many uses including: recording a diagnosis during an encounter; populating a problem list or a summary statement, such as a discharge summary." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Condition" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="PPR message" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Observation[classCode=OBS, moodCode=EVN, code=ASSERTION, value&lt;Diagnosis]" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="clinical.general" />
      </mapping>
    </element>
    <element>
      <path value="Condition.extension" />
      <slicing>
        <discriminator value="url" />
        <rules value="openAtEnd" />
      </slicing>
    </element>
    <element>
      <path value="Condition.extension" />
      <name value="graviditeit" />
      <definition value="Optional Extensions Element - found in all resources." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://nictiz.fhir.nl/fhir/StructureDefinition/counseling-22-peri20-GraviditeitExtension.xml" />
      </type>
    </element>
    <element>
      <path value="Condition.extension" />
      <name value="pariteit" />
      <definition value="Optional Extensions Element - found in all resources." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="http://nictiz.fhir.nl/fhir/StructureDefinition/counseling-22-peri20-PariteitExtension.xml" />
      </type>
    </element>
    <element>
      <path value="Condition.identifier" />
      <short value="External Ids for this condition" />
      <definition 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)." />
      <requirements value="Need to allow connection to a wider workflow." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Identifier" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value=".id" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="id" />
      </mapping>
    </element>
    <element>
      <path value="Condition.patient" />
      <short value="Who has the condition?" />
      <definition value="Indicates the patient who the condition record is associated with." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="Reference" />
        <profile value="http://nictiz.fhir.nl/fhir/StructureDefinition/counseling-22-peri20-Vrouw" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="PID-3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=SBJ].role[classCode=PAT]" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="who.focus" />
      </mapping>
    </element>
    <element>
      <path value="Condition.encounter" />
      <short value="Encounter when condition first asserted" />
      <definition value="Encounter during which the condition was first asserted." />
      <comments value="This record indicates the encounter this particular record is associated with.  In the case of a &quot;new&quot; diagnosis reflecting ongoing/revised information about the condition, this might be distinct from the first encounter in which the underlying condition was first &quot;known&quot;." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Encounter" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="PV1-19 (+PV1-54)" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="context" />
      </mapping>
    </element>
    <element>
      <path value="Condition.asserter" />
      <short value="Person who asserts this condition" />
      <definition value="Individual who is making the condition statement." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
      </type>
      <type>
        <code value="Reference" />
        <profile value="http://nictiz.fhir.nl/fhir/StructureDefinition/counseling-22-peri20-Vrouw" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="REL-7.1 identifier + REL-7.12 type code" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=AUT].role" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="who.author" />
      </mapping>
    </element>
    <element>
      <path value="Condition.dateRecorded" />
      <short value="When first entered" />
      <definition value="A date, when  the Condition statement was documented." />
      <comments value="The Date Recorded 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." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="date" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="REL-11" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".participation[typeCode=AUT].time" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="when.recorded" />
      </mapping>
    </element>
    <element>
      <path value="Condition.code" />
      <short value="Identification of the condition, problem or diagnosis" />
      <definition value="Identification of the condition, problem or diagnosis." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <binding>
        <strength value="example" />
        <description value="Identification of the condition or diagnosis." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/condition-code" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="PRB-3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".value" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="what" />
      </mapping>
      <mapping>
        <identity value="decor-nictiz-nl" />
        <map value="zwangerschap-element-hjkhk" />
      </mapping>
    </element>
    <element>
      <path value="Condition.code.coding.system" />
      <short value="Identity of the terminology system" />
      <definition value="The identification of the code system that defines the meaning of the symbol in the code." />
      <comments value="The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should de-reference to some definition that establish the system clearly and unambiguously." />
      <requirements value="Need to be unambiguous about the source of the definition of the symbol." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="uri" />
      </type>
      <fixedUri value="http://snomed.info/sct" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="C*E.3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystem" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" />
      </mapping>
    </element>
    <element>
      <path value="Condition.code.coding.version" />
      <short value="Version of the system - if relevant" />
      <definition value="The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured. and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged." />
      <comments value="Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="C*E.7" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./codeSystemVersion" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion" />
      </mapping>
    </element>
    <element>
      <path value="Condition.code.coding.code" />
      <short value="Symbol in syntax defined by the system" />
      <definition value="A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination)." />
      <requirements value="Need to refer to a particular code in the system." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="364320009" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="C*E.1" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="./code" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" />
      </mapping>
    </element>
    <element>
      <path value="Condition.code.coding.display" />
      <short value="Representation defined by the system" />
      <definition value="A representation of the meaning of the code in the system, following the rules of the system." />
      <requirements value="Need to be able to carry a human-readable meaning of the code for readers that do not know  the system." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
      <fixedString value="Zwangerschap" />
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="C*E.2 - but note this is not well followed" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="CV.displayName" />
      </mapping>
      <mapping>
        <identity value="orim" />
        <map value="fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName" />
      </mapping>
    </element>
    <element>
      <path value="Condition.category" />
      <short value="complaint | symptom | finding | diagnosis" />
      <definition value="A category assigned to the condition." />
      <comments value="The categorization is often highly contextual and may appear poorly differentiated or not very useful in other contexts." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <binding>
        <strength value="preferred" />
        <description value="A category assigned to the condition." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/condition-category" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="'problem' if from PRB-3. 'diagnosis' if from DG1 segment in PV1 message" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".code" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="class" />
      </mapping>
    </element>
    <element>
      <path value="Condition.clinicalStatus" />
      <short value="active | relapse | remission | resolved" />
      <definition value="The clinical status of the condition." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="code" />
      </type>
      <isModifier value="true" />
      <isSummary value="true" />
      <binding>
        <strength value="preferred" />
        <description value="The clinical status of the condition or diagnosis." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/condition-clinical" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="PRB-14 / DG1-6" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="status" />
      </mapping>
    </element>
    <element>
      <path value="Condition.verificationStatus" />
      <short value="provisional | differential | confirmed | refuted | entered-in-error | unknown" />
      <definition value="The verification status to support the clinical status of the condition." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="code" />
      </type>
      <fixedCode value="confirmed" />
      <isModifier value="true" />
      <isSummary value="true" />
      <binding>
        <strength value="required" />
        <description value="The verification status to support or decline the clinical status of the condition or diagnosis." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/condition-ver-status" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="PRB-13" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".code (pre or post-coordinated in)  Can use valueNegationInd for refuted" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="status" />
      </mapping>
    </element>
    <element>
      <path value="Condition.severity" />
      <short value="Subjective severity of condition" />
      <definition value="A subjective assessment of the severity of the condition as evaluated by the clinician." />
      <comments value="Coding of the severity with a terminology is preferred, where possible." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <binding>
        <strength value="preferred" />
        <description value="A subjective assessment of the severity of the condition as evaluated by the clinician." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/condition-severity" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="v2" />
        <map value="PRB-26 / ABS-3" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value="Can be pre/post-coordinated into value.  Or ./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=&quot;severity&quot;].value" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="grade" />
      </mapping>
    </element>
    <element>
      <path value="Condition.onset[x]" />
      <short value="Estimated or actual date,  date-time, or age" />
      <definition value="Estimated or actual date or date-time  the condition began, in the opinion of the clinician." />
      <comments value="Age is generally used when the patient reports an age at which the Condition began to occur." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Age" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="PRB-16" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".effectiveTime.low or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=&quot;age at onset&quot;].value" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="when.init" />
      </mapping>
    </element>
    <element>
      <path value="Condition.abatement[x]" />
      <short value="If/when in resolution/remission" />
      <definition value="The date or estimated date that the condition resolved or went into remission. This is called &quot;abatement&quot; because of the many overloaded connotations associated with &quot;remission&quot; or &quot;resolution&quot; - Conditions are never really resolved, but they can abate." />
      <comments 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." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="dateTime" />
      </type>
      <type>
        <code value="Quantity" />
        <profile value="http://hl7.org/fhir/StructureDefinition/Age" />
      </type>
      <type>
        <code value="boolean" />
      </type>
      <type>
        <code value="Period" />
      </type>
      <type>
        <code value="Range" />
      </type>
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value=".effectiveTime.high or .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=&quot;age at remission&quot;].value or .inboundRelationship[typeCode=SUBJ]source[classCode=CONC, moodCode=EVN].status=completed" />
      </mapping>
      <mapping>
        <identity value="w5" />
        <map value="when.done" />
      </mapping>
    </element>
    <element>
      <path value="Condition.stage" />
      <short value="Stage/grade, usually assessed formally" />
      <definition value="Clinical stage or grade of a condition. May include formal severity assessments." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="BackboneElement" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value="./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=&quot;stage/grade&quot;]" />
      </mapping>
    </element>
    <element>
      <path value="Condition.stage.assessment" />
      <short value="Formal record of assessment" />
      <definition value="Reference to a formal record of the evidence on which the staging assessment is based." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/ClinicalImpression" />
      </type>
      <type>
        <code value="Reference" />
        <profile value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport" />
      </type>
      <condition value="con-1" />
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value=".self" />
      </mapping>
    </element>
    <element>
      <path value="Condition.evidence" />
      <short value="Supporting evidence" />
      <definition value="Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed." />
      <comments value="The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="BackboneElement" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="rim" />
        <map value=".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]" />
      </mapping>
    </element>
    <element>
      <path value="Condition.bodySite" />
      <short value="Anatomical location, if relevant" />
      <definition value="The anatomical location where this condition manifests itself." />
      <comments value="May be a summary code, or a reference to a very precise definition of the location, or both." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="CodeableConcept" />
      </type>
      <isSummary value="true" />
      <binding>
        <strength value="example" />
        <description value="Codes describing anatomical locations. May include laterality." />
        <valueSetReference>
          <reference value="http://hl7.org/fhir/ValueSet/body-site" />
        </valueSetReference>
      </binding>
      <mapping>
        <identity value="rim" />
        <map value=".targetBodySiteCode" />
      </mapping>
    </element>
    <element>
      <path value="Condition.notes" />
      <short value="Additional information about the Condition" />
      <definition value="Additional information about the Condition. This is a general notes/comments entry  for description of the Condition, its diagnosis and prognosis." />
      <min value="0" />
      <max value="0" />
      <type>
        <code value="string" />
      </type>
      <isSummary value="true" />
      <mapping>
        <identity value="v2" />
        <map value="NTE child of PRB" />
      </mapping>
      <mapping>
        <identity value="rim" />
        <map value=".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=&quot;annotation&quot;].value" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>