{
  "resourceType": "StructureDefinition",
  "id": "bc-ProcedureObservation",
  "url": "http://nictiz.nl/fhir/StructureDefinition/bc-ProcedureObservation",
  "version": "1.3.3",
  "name": "bc-ProcedureObservation",
  "title": "bc-ProcedureObservation",
  "status": "active",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "email",
          "value": "geboortezorg@nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "An Observation profile describing procedure-related Observations as defined by BabyConnect. Procedure-related Observations are Observations about a procedure, which is the focus of the Observation (extension). They are also about the mother, which still is the subject of the Observation. For example, embryo transfer date and oocyte retrieval date are observations related to an IVF/ICSI procedure.\r\n* Procedure-related Observations use focus extension to point to a birth\r\n* Procedure-related Observations refer to the EpisodeOfCare with Observation.context.reference\r\n\r\nPattern: [[Procedure-related Observation | https://informatiestandaarden.nictiz.nl/wiki/Gebz:FHIR_IG_bc-ProcedureObservation]]",
  "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.extension:procedure",
        "path": "Observation.extension",
        "sliceName": "procedure",
        "type": [
          {
            "code": "Extension",
            "profile": "http://nictiz.nl/fhir/StructureDefinition/observation-focusSTU3"
          }
        ]
      },
      {
        "id": "Observation.extension:procedure.valueReference:valueReference",
        "path": "Observation.extension.valueReference",
        "sliceName": "valueReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-Birth"
          }
        ]
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "binding": {
          "strength": "extensible",
          "description": "bc-BirthObservation-code",
          "valueSetReference": {
            "reference": "http://nictiz.nl/fhir/ValueSet/bc-BirthObservation-code"
          }
        }
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-Woman"
          }
        ],
        "mapping": [
          {
            "identity": "gebz-peri-v2.3",
            "map": "peri23-dataelement-2",
            "comment": "Vrouw"
          }
        ]
      },
      {
        "id": "Observation.context",
        "path": "Observation.context",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-MaternalRecord"
          },
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-Encounter"
          },
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/bc-ChildBirthAssistance"
          }
        ],
        "mapping": [
          {
            "identity": "gebz-peri-v2.3",
            "map": "peri23-dataelement-4",
            "comment": "Zorgverlening"
          }
        ]
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.value[x]:valueBoolean",
        "path": "Observation.value[x]",
        "sliceName": "valueBoolean",
        "type": [
          {
            "code": "boolean"
          }
        ],
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-7892",
            "comment": "Cryo embryo"
          }
        ]
      },
      {
        "id": "Observation.value[x]:valueDateTime",
        "path": "Observation.value[x]",
        "sliceName": "valueDateTime",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-7891",
            "comment": "Eicelextractiedatum"
          },
          {
            "identity": "gebz-peri-v3.2",
            "map": "peri32-dataelement-7893",
            "comment": "Embryotransferdatum"
          }
        ]
      },
      {
        "id": "Observation.method.coding",
        "path": "Observation.method.coding",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "$this"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.method.coding:measurementMethod",
        "path": "Observation.method.coding",
        "sliceName": "measurementMethod",
        "binding": {
          "strength": "extensible",
          "description": "MeetMethode_GZ",
          "valueSetUri": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.90.77.11.282--20200526172902"
        }
      }
    ]
  }
}