<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="bc-ChildRecord" />
  <url value="http://nictiz.nl/fhir/StructureDefinition/bc-ChildRecord" />
  <version value="1.3.3" />
  <name value="bc-ChildRecord" />
  <title value="bc-ChildRecord" />
  <status value="active" />
  <publisher value="Nictiz" />
  <contact>
    <name value="Nictiz" />
    <telecom>
      <system value="email" />
      <value value="geboortezorg@nictiz.nl" />
      <use value="work" />
    </telecom>
  </contact>
  <description value="An EpisodeOfCare profile describing the child care record as defined by BabyConnect." />
  <copyright value="CC0" />
  <fhirVersion value="3.0.2" />
  <mapping>
    <identity value="gebz-peri-v3.2" />
    <uri value="https://decor.nictiz.nl/art-decor/decor-datasets-\-peri20-?id=2.16.840.1.113883.2.4.3.11.60.90.77.1.6&amp;effectiveDate=2016-09-08T00%3A00%3A00&amp;conceptId=2.16.840.1.113883.2.4.3.11.60.90.77.2.6.4&amp;conceptEffectiveDate=2016-09-08T00%3A00%3A00" />
    <name value="Geboortezorg 3.2" />
  </mapping>
  <kind value="resource" />
  <abstract value="false" />
  <type value="EpisodeOfCare" />
  <baseDefinition value="http://fhir.nl/fhir/StructureDefinition/nl-core-episodeofcare" />
  <derivation value="constraint" />
  <differential>
    <element id="EpisodeOfCare">
      <path value="EpisodeOfCare" />
      <mapping>
        <identity value="gebz-peri-v3.2" />
        <map value="peri32-dataelement-9704" />
        <comment value="Follow up" />
      </mapping>
    </element>
    <element id="EpisodeOfCare.type">
      <path value="EpisodeOfCare.type" />
      <slicing>
        <discriminator>
          <type value="value" />
          <path value="coding.code" />
        </discriminator>
        <rules value="open" />
      </slicing>
      <mapping>
        <identity value="gebz-peri-v3.2" />
        <map value="peri32-dataelement-9705" />
        <comment value="Na ontslag" />
      </mapping>
      <mapping>
        <identity value="gebz-peri-v3.2" />
        <map value="peri32-dataelement-9735" />
        <comment value="Na 2 jaar" />
      </mapping>
    </element>
    <element id="EpisodeOfCare.type:followUpAfterDischarge">
      <path value="EpisodeOfCare.type" />
      <sliceName value="followUpAfterDischarge" />
      <max value="1" />
    </element>
    <element id="EpisodeOfCare.type:followUpAfterDischarge.coding">
      <path value="EpisodeOfCare.type.coding" />
      <patternCoding>
        <system value="http://snomed.info/sct" />
        <code value="406151001" />
      </patternCoding>
    </element>
    <element id="EpisodeOfCare.type:followUpAfter2years">
      <path value="EpisodeOfCare.type" />
      <sliceName value="followUpAfter2years" />
      <max value="1" />
    </element>
    <element id="EpisodeOfCare.type:followUpAfter2years.coding">
      <path value="EpisodeOfCare.type.coding" />
      <patternCoding>
        <system value="http://snomed.info/sct" />
        <code value="199581000000104" />
        <display value="Follow-up 2 years (finding)" />
      </patternCoding>
    </element>
    <element id="EpisodeOfCare.patient">
      <path value="EpisodeOfCare.patient" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://nictiz.nl/fhir/StructureDefinition/bc-Child" />
      </type>
    </element>
  </differential>
</StructureDefinition>