{
  "resourceType": "StructureDefinition",
  "id": "zib-Pregnancy.PregnancyDuration",
  "text": {
    "status": "empty",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">No narrative is provided for definitional resources. A human-readable rendering can be found in the implementation guide(s) where this resource is used.</div>"
  },
  "url": "http://nictiz.nl/fhir/StructureDefinition/zib-Pregnancy.PregnancyDuration",
  "name": "ZibPregnancyPregnancyDuration",
  "title": "zib Pregnancy.PregnancyDuration",
  "status": "draft",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Pregnancy 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": "This Observation resource represents the PregnancyDuration concept of the Dutch [zib ('Zorginformatiebouwsteen', i.e. Health and Care Information Model) Pregnancy v4.0 (2020)](https://zibs.nl/wiki/Pregnancy-v4.0(2020EN)).",
  "copyright": "Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "zib-pregnancy-v4.0-2020EN",
      "uri": "https://zibs.nl/wiki/Pregnancy-v4.0(2020EN)",
      "name": "zib Pregnancy-v4.0(2020EN)"
    }
  ],
  "kind": "resource",
  "abstract": true,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "comment": "This profile on the Observation resource represents the PregnancyDuration concept (NL-CM:7.14.4) of zib Pregnancy. It can be used together with the [zib-Pregnancy](http://nictiz.nl/fhir/StructureDefinition/zib-Pregnancy) profile on the Observation resource, which groups references to the current and other resources on `Observation.hasMember`."
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "57036006"
            }
          ]
        }
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.value[x]:valueQuantity",
        "path": "Observation.value[x]",
        "sliceName": "valueQuantity",
        "short": "PregnancyDuration",
        "definition": "Duration of the pregnancy on the day on which the patient was asked. The duration can be given in days (d) or weeks (wk).",
        "alias": [
          "Zwangerschapsduur"
        ],
        "type": [
          {
            "code": "Quantity"
          }
        ],
        "mapping": [
          {
            "identity": "zib-pregnancy-v4.0-2020EN",
            "map": "NL-CM:7.14.4",
            "comment": "PregnancyDuration"
          }
        ]
      }
    ]
  }
}