{
  "resourceType": "StructureDefinition",
  "id": "bc-FetalHeartRate",
  "url": "http://nictiz.nl/fhir/StructureDefinition/bc-FetalHeartRate",
  "version": "1.3.3",
  "name": "bc-FetalHeartRate",
  "title": "bc-FetalHeartRate",
  "status": "active",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "email",
          "value": "geboortezorg@nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "An Observation profile describing fetal heart rate as defined by BabyConnect. The base definition is a fetus-related Observation. Fetus-related Observations are Observations about a fetus, which is the focus of the Observation (extension). Fetus identification is necessary in these Observations, especially in multiple pregnancy. There are two ways of using this profile depending on the presence of a patient / fetus record for the unborn child:\r\n1. A patient / fetus record is present. The subject of the Observation is the (unborn) child Patient. The focus extension must be left blank.\r\n2. A patient / fetus record is not present. The subject of the Observation is the woman Patient. The focus extension refers to the fetus BodySite.",
  "copyright": "CC0",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "hcim-basicelements-v1.0-2017EN",
      "uri": "https://zibs.nl/wiki/BasicElements-v1.0(2017EN)",
      "name": "HCIM BasicElements-v1.0(2017EN)"
    },
    {
      "identity": "gebz-peri-v2.3",
      "uri": "https://decor.nictiz.nl/art-decor/decor-datasets--peri20-?id=2.16.840.1.113883.2.4.3.11.60.90.77.1.6&effectiveDate=2016-09-08T00%3A00%3A00&conceptId=2.16.840.1.113883.2.4.3.11.60.90.77.2.6.40050&conceptEffectiveDate=2016-09-08T00%3A00%3A00",
      "name": "Geboortezorg Perinatologie 2.3"
    },
    {
      "identity": "gebz-peri-v3.2",
      "uri": "https://decor.nictiz.nl/art-decor/decor-datasets-\\-peri20-?id=2.16.840.1.113883.2.4.3.11.60.90.77.1.6&effectiveDate=2016-09-08T00%3A00%3A00&conceptId=2.16.840.1.113883.2.4.3.11.60.90.77.2.6.4&conceptEffectiveDate=2016-09-08T00%3A00%3A00",
      "name": "Geboortezorg 3.2"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://fhir.nl/fhir/StructureDefinition/nl-core-observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-1776",
            "comment": "Foetale hartslag (Hartfrequentie)"
          },
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-1783",
            "comment": "Foetale hartslag (Hartfrequentie)"
          },
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-1784",
            "comment": "Foetale hartslag (Hartfrequentie)"
          }
        ]
      },
      {
        "id": "Observation.extension:fetus",
        "path": "Observation.extension",
        "sliceName": "fetus",
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://nictiz.nl/fhir/StructureDefinition/observation-focusSTU3"
          }
        ]
      },
      {
        "id": "Observation.extension:fetus.valueReference:valueReference",
        "path": "Observation.extension.valueReference",
        "sliceName": "valueReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-Fetus"
          }
        ]
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.code.coding:fetalHeartRateSNOMED",
        "path": "Observation.code.coding",
        "sliceName": "fetalHeartRateSNOMED",
        "max": "1",
        "patternCoding": {
          "system": "http://snomed.info/sct",
          "code": "249043002"
        }
      },
      {
        "id": "Observation.code.coding:fetalHeartRateSNOMED.display",
        "path": "Observation.code.coding.display",
        "defaultValueString": "foetale hartfrequentie (waarneembare entiteit)"
      },
      {
        "id": "Observation.code.coding:fetalHeartRateLOINC",
        "path": "Observation.code.coding",
        "sliceName": "fetalHeartRateLOINC",
        "max": "1",
        "patternCoding": {
          "system": "http://loinc.org",
          "code": "8867-4"
        }
      },
      {
        "id": "Observation.code.coding:fetalHeartRateLOINC.display",
        "path": "Observation.code.coding.display",
        "defaultValueString": "Hartslagfrequentie [aantal/tijd]"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-Child"
          },
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-Woman"
          }
        ],
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-10283",
            "comment": "Patient"
          }
        ]
      },
      {
        "id": "Observation.context",
        "path": "Observation.context",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-ChildBirthAssistance"
          },
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-MaternalRecord"
          },
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-Encounter"
          }
        ],
        "mapping": [
          {
            "identity": "gebz-peri-v2.3",
            "map": "peri23-dataelement-4",
            "comment": "Zorgverlening"
          }
        ]
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-1778",
            "comment": "HartfrequentieDatumTijd"
          },
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-10958",
            "comment": "HartfrequentieDatumTijd"
          }
        ]
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-1777",
            "comment": "HartfrequentieWaarde"
          },
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-10959",
            "comment": "HartfrequentieWaarde"
          }
        ]
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-1782",
            "comment": "InterpretatieFrequentie"
          },
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-10962",
            "comment": "InterpretatieFrequentie"
          }
        ]
      },
      {
        "id": "Observation.interpretation.coding",
        "path": "Observation.interpretation.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.interpretation.coding:interpretationFrequency",
        "path": "Observation.interpretation.coding",
        "sliceName": "interpretationFrequency",
        "binding": {
          "strength": "extensible",
          "description": "Frequentie hartslag",
          "valueSetUri": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.11.235--20170203161446"
        }
      },
      {
        "id": "Observation.comment",
        "path": "Observation.comment",
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-1780",
            "comment": "Toelichting"
          },
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-10963",
            "comment": "Toelichting"
          }
        ]
      },
      {
        "id": "Observation.method",
        "path": "Observation.method",
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-1779",
            "comment": "HartslagMeetMethode"
          },
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-10960",
            "comment": "HartslagMeetMethode"
          }
        ]
      },
      {
        "id": "Observation.method.coding",
        "path": "Observation.method.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.method.coding:heartActionBasedOn",
        "path": "Observation.method.coding",
        "sliceName": "heartActionBasedOn",
        "binding": {
          "strength": "required",
          "description": "Hartactie op basis van",
          "valueSetUri": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.11.236--20170203161659"
        }
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "code.coding"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:heartRateRegularity",
        "path": "Observation.component",
        "sliceName": "heartRateRegularity",
        "max": "1"
      },
      {
        "id": "Observation.component:heartRateRegularity.code.coding",
        "path": "Observation.component.code.coding",
        "patternCoding": {
          "system": "http://snomed.info/sct",
          "code": "249044008"
        }
      },
      {
        "id": "Observation.component:heartRateRegularity.value[x]",
        "path": "Observation.component.value[x]",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "extensible",
          "description": "Regelmaat hartslag",
          "valueSetUri": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.11.234--20170203161304"
        },
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-1781",
            "comment": "HartslagRegelmatigheid"
          },
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-10961",
            "comment": "HartslagRegelmatigheid"
          }
        ]
      }
    ]
  }
}