{
  "resourceType": "StructureDefinition",
  "id": "zib2020-PackageChecks",
  "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/zib2020-PackageChecks",
  "name": "Zib202=PackageChecks",
  "status": "draft",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "url",
          "value": "http://www.nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Profile to perform checks specific to the zib2020 package.",
  "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",
  "kind": "resource",
  "abstract": false,
  "type": "StructureDefinition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/StructureDefinition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "StructureDefinition.differential.element",
        "path": "StructureDefinition.differential.element",
        "constraint": [
          {
            "key": "Zib2020PackageChecks-01",
            "severity": "error",
            "human": "When applying datatype profile zib-AnatomicalLocation, the associated ValueSet should be bound.",
            "expression": "'http://nictiz.nl/fhir/StructureDefinition/zib-AnatomicalLocation' in type.profile implies binding.valueSet = 'http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.121.11.11--20200901000000'"
          },
          {
            "key": "Zib2020PackageChecks-02",
            "severity": "error",
            "human": "When applying datatype profile zib-AnatomicalLocation, the associated ValueSet should have binding strength required.",
            "expression": "'http://nictiz.nl/fhir/StructureDefinition/zib-AnatomicalLocation' in type.profile implies binding.strength = 'required'"
          },
          {
            "key": "Zib2020PackageChecks-03",
            "severity": "warning",
            "human": "When referencing the zib-HealthProfessional-PractitionerRole profile, the default explanation should be added to the comment.",
            "expression": "'http://nictiz.nl/fhir/StructureDefinition/zib-HealthProfessional-PractitionerRole' in type.targetProfile implies comment.contains('Each occurrence of the zib HealthProfessional is normally represented by _two_ FHIR resources:')"
          }
        ]
      }
    ]
  }
}