{
  "resourceType": "StructureDefinition",
  "id": "zib-Pregnancy",
  "url": "http://nictiz.nl/fhir/StructureDefinition/zib-Pregnancy",
  "version": "1.0.0",
  "name": "Zib Pregnancy",
  "title": "HCIM Pregnancy",
  "status": "active",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "email",
          "value": "info@nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "A Condition resource as defined by the Dutch HCIM Pregnancy v3.1(2017EN).\r\n\r\nPregnancy or gravidity is the condition in which a woman carries a fertilized egg, which grows into an embryo and then a fetus. A pregnancy of between 37 and 42 weeks is considered normal. 'Term pregnancy' is 37 to 42 weeks. The term gravidity is also used for the number of times a woman has been pregnant. This and parity - the number of times a woman has given birth - provides insight into the patient’s obstetric history.",
  "purpose": "# Purpose of HCIM\r\nIf the patient is pregnant, it is important to mention this, as it requires specific attention in their care. Pregnancy can influence treatment decisions, the treatment itself and the patient’s care.\r\n\r\n# Purpose of this profile\r\nThis profile specializes the Problem HCIM profile (FHIR Condition) to track the overarching parts of the Pregnancy HCIM. It is complemented by four Observation profiles for the observable/momentary parts of the HCIM: zib-Pregnancy-PregnancyStatus, zib-Pregnancy-TermDate, zib-Pregnancy-DateLastMenstruation and zib-Pregnancy-PregnancyDuration",
  "copyright": "CC0",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "hcim-pregnancy-v3.1-2017EN",
      "uri": "https://zibs.nl/wiki/Pregnancy-v3.1(2017EN)",
      "name": "HCIM Pregnancy-v3.1(2017EN)"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Condition",
  "baseDefinition": "http://nictiz.nl/fhir/StructureDefinition/zib-Problem",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Condition",
        "path": "Condition",
        "short": "Pregnancy",
        "definition": "Root concept of the Pregnancy information model. This root concept contains all data elements of the Pregnancy information model.",
        "alias": [
          "Zwangerschap"
        ],
        "mapping": [
          {
            "identity": "hcim-pregnancy-v3.1-2017EN",
            "map": "NL-CM:7.14.1",
            "comment": "Pregnancy"
          }
        ]
      },
      {
        "id": "Condition.code.coding",
        "path": "Condition.code.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Condition.code.coding:PregnancyObservable",
        "path": "Condition.code.coding",
        "sliceName": "PregnancyObservable",
        "comment": "De code used differs from that of the zib rootconcept. However, it has been found that the code used in the zib is semantically incorrect and should be replaced with _118185001_. See (ZIB issue 1201)[https://bits.nictiz.nl/browse/ZIB-1201] for more information.",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Condition.code.coding:PregnancyObservable.system",
        "path": "Condition.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Condition.code.coding:PregnancyObservable.code",
        "path": "Condition.code.coding.code",
        "min": 1,
        "fixedCode": "118185001"
      },
      {
        "id": "Condition.code.coding:PregnancyObservable.display",
        "path": "Condition.code.coding.display",
        "defaultValueString": "Pregnancy observable"
      },
      {
        "id": "Condition.note",
        "path": "Condition.note",
        "definition": "Comment on the pregnancy.",
        "max": "1",
        "mapping": [
          {
            "identity": "hcim-pregnancy-v3.1-2017EN",
            "map": "NL-CM:7.14.7",
            "comment": "Toelichting"
          }
        ]
      }
    ]
  }
}