FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packageopenehr.ehds.fhir.dataexchange
Resource TypeStructureDefinition
IdStructureDefinition-OLCarerContingencyPlan.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/freshehr/EHDS-openEHR-FHIR-IG/StructureDefinition-OLCarerContingencyPlan.html
URLhttp://openehr.org/StructureDefinition/OLCarerContingencyPlan
Version0.1.0
Statusactive
Date2026-03-25T15:55:34+00:00
NameOLCarerContingencyPlan
TitleOL - Carer contingency plan
Description[openEHR-EHR-COMPOSITION.anticipatory_care_information.v0] A framework to communicate information that has been captured and curated in anticipation of future need for care.
Typehttp://openehr.org/StructureDefinition/OLCarerContingencyPlan
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
openehr.base#currentEVALUATIONEVALUATION
openehr.base#currentEVENT-CONTEXTEVENT_CONTEXT
openehr.base#currentPARTY-PROXYPARTY_PROXY
openehr.ehds.fhir.dataexchange#currentClusterCluster
openehr.ehds.fhir.dataexchange#currentDvCodedTextDvCodedText
openehr.ehds.fhir.dataexchange#currentDvDateTimeDvDateTime
openehr.ehds.fhir.dataexchange#currentDvIdentifierDvIdentifier
openehr.ehds.fhir.dataexchange#currentDvMultimediaDvMultimedia
openehr.ehds.fhir.dataexchange#currentDvTextDvText
ValueSet
openehr.ehds.fhir.dataexchange#currentOLCarerContingencyPlanAddressUseOL - Carer contingency plan: Address Use
openehr.ehds.fhir.dataexchange#currentOLCarerContingencyPlanCareContingencyPlanStatusOL - Carer contingency plan: Care contingency plan status
openehr.ehds.fhir.dataexchange#currentOLCarerContingencyPlanCodedTextOL - Carer contingency plan: coded_text
openehr.ehds.fhir.dataexchange#currentOLCarerContingencyPlanContactTypeOL - Carer contingency plan: Contact type
openehr.ehds.fhir.dataexchange#currentOLCarerContingencyPlanHasThePersonConsentedToTheReplacementOL - Carer contingency plan: Has the person consented to the replacement
openehr.ehds.fhir.dataexchange#currentOLCarerContingencyPlanPrimaryContactOL - Carer contingency plan: Primary contact
openehr.ehds.fhir.dataexchange#currentOLCarerContingencyPlanRelationshipOL - Carer contingency plan: Relationship
openehr.ehds.fhir.dataexchange#currentOLCarerContingencyPlanReplacementHasACopyOfContingencyPlanOL - Carer contingency plan: Replacement has a copy of contingency plan
openehr.ehds.fhir.dataexchange#currentOLCarerContingencyPlanReplacementHasConsentedToActingInThatRoleOL - Carer contingency plan: Replacement has consented to acting in that role
openehr.ehds.fhir.dataexchange#currentOLCarerContingencyPlanReplacementHasConsentedToBeingContactedOL - Carer contingency plan: Replacement has consented to being contacted
openehr.ehds.fhir.dataexchange#currentOLCarerContingencyPlanResponsibilitiesStatusOL - Carer contingency plan: Responsibilities status
openehr.ehds.fhir.dataexchange#currentOLCarerContingencyPlanSettingOL - Carer contingency plan: setting
openehr.ehds.fhir.dataexchange#currentOLCarerContingencyPlanSupportContactTypeOL - Carer contingency plan: Support contact type
openehr.ehds.fhir.dataexchange#currentOLCarerContingencyPlanUseOL - Carer contingency plan: Use

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition OLCarerContingencyPlan

NameFlagsCard.TypeDescription & Constraintsdoco
.. OLCarerContingencyPlan 0..*ElementOL - Carer contingency plan

Elements defined in Ancestors:@id, extension
... codedText 1..1DvCodedTextcoded_text
Binding: OL - Carer contingency plan: coded_text (required)
... composer 1..1PARTY_PROXYcomposer
... context 1..1EVENT_CONTEXTContext
.... startTime 1..1DvDateTimestart_time
.... setting 1..1DvCodedTextsetting
Binding: OL - Carer contingency plan: setting (required)
.... xDSMetadata 0..1ClusterXDS Metadata
..... authorSpecialty 0..1DvTextAuthor specialty
..... classCode 0..1DvTextClass code
..... documentType 0..1DvTextDocument type
..... confidentialityCode 0..1DvTextConfidentiality code
..... healthCareFacilityType 0..1DvTextHealth care facility type
..... practiceSettingCode 0..1DvTextPractice setting code
..... eventCode 0..*DvTextEvent code
..... documentMedia 0..1DvMultimediaDocument_media
.... careJourneyMetadata 0..1ClusterCare journey metadata
..... carePlanName 0..1DvTextCare plan name
..... carePlanIdentifier[x] 0..1Care plan identifier
...... carePlanIdentifierDvTextDvText
...... carePlanIdentifierDvIdentifierDvIdentifier
..... patientJourneyIdentifier[x] 0..1Patient journey identifier
...... patientJourneyIdentifierDvTextDvText
...... patientJourneyIdentifierDvIdentifierDvIdentifier
... PersonalResponsibilities 0..1EVALUATIONPersonal responsibilities
.... responsibilitiesStatus 0..1DvCodedTextResponsibilities status
Binding: OL - Carer contingency plan: Responsibilities status (required)
.... description 0..1DvTextDescription
.... primaryCarerParentalResponsibility 0..1ClusterPrimary carer /parental responsibility
..... careContingencyPlanStatus 0..1DvCodedTextCare contingency plan status
Binding: OL - Carer contingency plan: Care contingency plan status (required)
..... caredForPerson 0..1DvTextCared for person
..... howLongCanTheyWaitOnTheirOwn 0..1DvTextHow long can they wait on their own
..... replacementCarer 0..1ClusterReplacement carer
...... member 0..1ClusterMember
....... relationship 0..*DvCodedTextRelationship
Binding: OL - Carer contingency plan: Relationship (preferred)
....... primaryContact 0..*DvCodedTextPrimary contact
Binding: OL - Carer contingency plan: Primary contact (required)
....... supportContactType 0..*DvCodedTextSupport contact type
Binding: OL - Carer contingency plan: Support contact type (required)
....... additionalInformation 0..1DvTextAdditional information
....... membername 0..*ClusterName
........ use 1..1DvCodedTextUse
Binding: OL - Carer contingency plan: Use (required)
........ contactName 0..1DvTextContact name
....... telecomContact 0..*ClusterTelecom contact
........ contactType 0..1DvCodedTextContact type
Binding: OL - Carer contingency plan: Contact type (required)
........ contactValue 0..1DvTextContact value
....... address 0..*ClusterAddress
........ addressUse 0..1DvCodedTextAddress Use
Binding: OL - Carer contingency plan: Address Use (required)
........ street 0..1DvTextStreet
........ street2 0..1DvTextStreet2
........ city 0..1DvTextCity
........ county 0..1DvTextCounty
........ postalCode 0..1DvTextPostal code
........ country 0..1DvTextCountry
....... dateAdded 0..1DvDateTimeDate added
...... hasThePersonConsentedToTheReplacement 0..1DvCodedTextHas the person consented to the replacement
Binding: OL - Carer contingency plan: Has the person consented to the replacement (required)
...... replacementHasConsentedToBeingContacted 0..1DvCodedTextReplacement has consented to being contacted
Binding: OL - Carer contingency plan: Replacement has consented to being contacted (required)
...... replacementHasConsentedToActingInThatRole 0..1DvCodedTextReplacement has consented to acting in that role
Binding: OL - Carer contingency plan: Replacement has consented to acting in that role (required)
...... replacementHasACopyOfContingencyPlan 0..1DvCodedTextReplacement has a copy of contingency plan
Binding: OL - Carer contingency plan: Replacement has a copy of contingency plan (required)
.... pet 0..*ClusterPet
..... petDetails 0..1DvTextPet details
.... dateLastUpdated 0..1DvDateTimeDate last updated

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "OLCarerContingencyPlan",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "http://openehr.org/StructureDefinition/OLCarerContingencyPlan",
  "version": "0.1.0",
  "name": "OLCarerContingencyPlan",
  "title": "OL - Carer contingency plan",
  "status": "active",
  "date": "2026-03-25T15:55:34+00:00",
  "publisher": "Ian",
  "contact": [
    {
      "name": "Ian",
      "telecom": [
        {
          "system": "url",
          "value": "http://example.org/example-publisher"
        }
      ]
    }
  ],
  "description": "[openEHR-EHR-COMPOSITION.anticipatory_care_information.v0] A framework to communicate information that has been captured and curated in anticipation of future need for care.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "http://openehr.org/StructureDefinition/OLCarerContingencyPlan",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "OLCarerContingencyPlan",
        "path": "OLCarerContingencyPlan",
        "short": "OL - Carer contingency plan",
        "definition": "[openEHR-EHR-COMPOSITION.anticipatory_care_information.v0] A framework to communicate information that has been captured and curated in anticipation of future need for care.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element",
          "min": 0,
          "max": "*"
        },
        "condition": [
          "ele-1"
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.id",
        "path": "OLCarerContingencyPlan.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.extension",
        "path": "OLCarerContingencyPlan.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.codedText",
        "path": "OLCarerContingencyPlan.codedText",
        "short": "coded_text",
        "definition": "[at0001]",
        "min": 1,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.codedText",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanCodedText"
        }
      },
      {
        "id": "OLCarerContingencyPlan.composer",
        "path": "OLCarerContingencyPlan.composer",
        "short": "composer",
        "definition": "[RM] The person primarily responsible for the content of the Composition (but not necessarily its committal into the EHR system). This is the identifier which should appear on the screen. It may or may not be the person who entered the data. When it is the patient, the special self instance of `PARTY_SELF` will be used.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.composer",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/PARTY_PROXY",
            "profile": [
              "http://openehr.org/fhir/StructureDefinition/PARTY-PROXY"
            ]
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context",
        "path": "OLCarerContingencyPlan.context",
        "short": "Context",
        "definition": "[at0002] `COMPOSITION.context` - Documents the context information of a healthcare event involving the subject of care and the health system. The context information recorded here are independent of the attributes recorded in the version audit, which document the system interaction context, i.e. the context of a user interacting with the health record system. Healthcare events include patient contacts, and any other business activity, such as pathology investigations which take place on behalf of the patient.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.context",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/EVENT_CONTEXT",
            "profile": [
              "http://openehr.org/fhir/StructureDefinition/EVENT-CONTEXT"
            ]
          }
        ],
        "constraint": [
          {
            "key": "Setting_valid",
            "severity": "error",
            "human": "Setting valid",
            "expression": "null # TODO: manual translation needed"
          },
          {
            "key": "Participations_validity",
            "severity": "error",
            "human": "Participations validity must be present",
            "expression": "participations.exists() implies participations.empty().not()"
          },
          {
            "key": "location_valid",
            "severity": "error",
            "human": "location valid must be present",
            "expression": "location.exists() implies location.empty().not()"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.start-time",
        "path": "OLCarerContingencyPlan.context.start_time",
        "short": "Start time of the clinical session or other kind of event during which a provider performs a service of any kind for the patient.",
        "definition": "Start time of the clinical session or other kind of event during which a provider performs a service of any kind for the patient.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EVENT_CONTEXT.start_time",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV-DATE-TIME"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.end-time",
        "path": "OLCarerContingencyPlan.context.end_time",
        "short": "Optional end time of the clinical session.",
        "definition": "Optional end time of the clinical session.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EVENT_CONTEXT.end_time",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV-DATE-TIME"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.location",
        "path": "OLCarerContingencyPlan.context.location",
        "short": "The actual location where the session occurred, e.",
        "definition": "The actual location where the session occurred, e.g. 'microbiology lab 2', 'home', 'ward A3'  and so on.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EVENT_CONTEXT.location",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.setting",
        "path": "OLCarerContingencyPlan.context.setting",
        "short": "setting",
        "definition": "[RM] The setting in which the clinical session took place. Coded using the openEHR Terminology, setting group.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EVENT_CONTEXT.setting",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "isModifier": false,
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanSetting"
        }
      },
      {
        "id": "OLCarerContingencyPlan.context.other-context",
        "path": "OLCarerContingencyPlan.context.other_context",
        "short": "Other optional context which will be archetyped.",
        "definition": "Other optional context which will be archetyped.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EVENT_CONTEXT.other_context",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ITEM-STRUCTURE"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.health-care-facility",
        "path": "OLCarerContingencyPlan.context.health_care_facility",
        "short": "The health care facility under whose care the event took place.",
        "definition": "The health care facility under whose care the event took place. This is the most specific workgroup or delivery unit within a care delivery enterprise that has an official identifier in the health system, and can be used to ensure medico-legal accountability.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EVENT_CONTEXT.health_care_facility",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/PARTY-IDENTIFIED"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.participations",
        "path": "OLCarerContingencyPlan.context.participations",
        "short": "Parties involved in the healthcare event.",
        "definition": "Parties involved in the healthcare event. These would normally include the physician(s) and often the patient (but not the latter if the clinical session is a pathology test for example).",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EVENT_CONTEXT.participations",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/PARTICIPATION"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.startTime",
        "path": "OLCarerContingencyPlan.context.startTime",
        "short": "start_time",
        "definition": "[RM] COMPOSITION.context.start_time - Start time of the clinical session or other kind of event during which a provider performs a service of any kind for the patient.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.context.startTime",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvDateTime"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata",
        "path": "OLCarerContingencyPlan.context.xDSMetadata",
        "short": "XDS Metadata",
        "definition": "[openEHR-EHR-CLUSTER.xds_metadata.v0] Additional composition metadata aligned with IHE-XDS which is not already available from the Reference Model COMPOSITION class.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.context.xDSMetadata",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ],
        "constraint": [
          {
            "key": "Links_valid",
            "severity": "error",
            "human": "Links valid must be present",
            "expression": "links.exists() implies links.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetyped_valid",
            "severity": "error",
            "human": "Archetyped valid must satisfy exclusive conditions",
            "expression": "is_archetype_root() xor archetype_details .empty()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetype_node_id_valid",
            "severity": "error",
            "human": "Archetype node id valid must not be empty",
            "expression": "archetype_node_id.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.name",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.name",
        "short": "Runtime name of this fragment, used to build runtime paths.",
        "definition": "Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.name",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV-TEXT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.archetype-node-id",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.archetype_node_id",
        "short": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths.",
        "definition": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g.  `at0005`. This value enables a 'standardised' name for this node to be generated, by referring to the generating archetype local terminology. \n\nAt an archetype root point, the value of this attribute is always the stringified form of the `_archetype_id_` found in the `_archetype_details_` object.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_node_id",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.uid",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.uid",
        "short": "Optional globally unique object identifier for root points of archetyped structures.",
        "definition": "Optional globally unique object identifier for root points of archetyped structures.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.uid",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/UID-BASED-ID"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.links",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.links",
        "short": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on).",
        "definition": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on). Links may be to structures in other compositions.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "LOCATABLE.links",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/LINK"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.archetype-details",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.archetype_details",
        "short": "Details of archetyping used on this node.",
        "definition": "Details of archetyping used on this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_details",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ARCHETYPED"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.feeder-audit",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.feeder_audit",
        "short": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "definition": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.feeder_audit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/FEEDER-AUDIT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.items",
        "extension": [
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-group"
              },
              {
                "url": "value",
                "valueString": "Items"
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          },
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-order"
              },
              {
                "url": "value",
                "valueInteger": 8
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          }
        ],
        "path": "OLCarerContingencyPlan.context.xDSMetadata.items",
        "short": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "definition": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "CLUSTER.items",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ITEM"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.authorSpecialty",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.authorSpecialty",
        "short": "Author specialty",
        "definition": "[at0001] The speciality of the author/composer of the document.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.context.xDSMetadata.authorSpecialty",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.classCode",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.classCode",
        "short": "Class code",
        "definition": "[at0002] A high-level document class code, normally selected from a valueset provided by the IHE-XDS Affinity Domain.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.context.xDSMetadata.classCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.documentType",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.documentType",
        "short": "Document type",
        "definition": "[at0003] The code specifying the precise type of document from the user perspective. Normally selected from a valueset provided by the local IHE-XDS Affinity Domain or national standard.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.context.xDSMetadata.documentType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.confidentialityCode",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.confidentialityCode",
        "short": "Confidentiality code",
        "definition": "[at0004] A term specifying the level of confidentiality of the XDS Document.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.context.xDSMetadata.confidentialityCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.healthCareFacilityType",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.healthCareFacilityType",
        "short": "Health care facility type",
        "definition": "[at0007] A term defining the healthcare facility type.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.context.xDSMetadata.healthCareFacilityType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.practiceSettingCode",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.practiceSettingCode",
        "short": "Practice setting code",
        "definition": "[at0009] The code specifying the clinical specialty where the act that resulted in the document was performed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.context.xDSMetadata.practiceSettingCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.eventCode",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.eventCode",
        "short": "Event code",
        "definition": "[at0011] This list of codes represents the main clinical acts.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "OLCarerContingencyPlan.context.xDSMetadata.eventCode",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.documentMedia",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.documentMedia",
        "short": "Document_media",
        "definition": "[at0010] Additional metadata about the document itself, including size, url.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.context.xDSMetadata.documentMedia",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvMultimedia"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.careJourneyMetadata",
        "path": "OLCarerContingencyPlan.context.careJourneyMetadata",
        "short": "Care journey metadata",
        "definition": "[openEHR-EHR-CLUSTER.care_journey_metadata.v0] Tp capture Care plan metadata",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.context.careJourneyMetadata",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ],
        "constraint": [
          {
            "key": "Links_valid",
            "severity": "error",
            "human": "Links valid must be present",
            "expression": "links.exists() implies links.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetyped_valid",
            "severity": "error",
            "human": "Archetyped valid must satisfy exclusive conditions",
            "expression": "is_archetype_root() xor archetype_details .empty()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetype_node_id_valid",
            "severity": "error",
            "human": "Archetype node id valid must not be empty",
            "expression": "archetype_node_id.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.careJourneyMetadata.name",
        "path": "OLCarerContingencyPlan.context.careJourneyMetadata.name",
        "short": "Runtime name of this fragment, used to build runtime paths.",
        "definition": "Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.name",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV-TEXT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.careJourneyMetadata.archetype-node-id",
        "path": "OLCarerContingencyPlan.context.careJourneyMetadata.archetype_node_id",
        "short": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths.",
        "definition": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g.  `at0005`. This value enables a 'standardised' name for this node to be generated, by referring to the generating archetype local terminology. \n\nAt an archetype root point, the value of this attribute is always the stringified form of the `_archetype_id_` found in the `_archetype_details_` object.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_node_id",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.careJourneyMetadata.uid",
        "path": "OLCarerContingencyPlan.context.careJourneyMetadata.uid",
        "short": "Optional globally unique object identifier for root points of archetyped structures.",
        "definition": "Optional globally unique object identifier for root points of archetyped structures.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.uid",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/UID-BASED-ID"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.careJourneyMetadata.links",
        "path": "OLCarerContingencyPlan.context.careJourneyMetadata.links",
        "short": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on).",
        "definition": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on). Links may be to structures in other compositions.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "LOCATABLE.links",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/LINK"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.careJourneyMetadata.archetype-details",
        "path": "OLCarerContingencyPlan.context.careJourneyMetadata.archetype_details",
        "short": "Details of archetyping used on this node.",
        "definition": "Details of archetyping used on this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_details",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ARCHETYPED"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.careJourneyMetadata.feeder-audit",
        "path": "OLCarerContingencyPlan.context.careJourneyMetadata.feeder_audit",
        "short": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "definition": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.feeder_audit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/FEEDER-AUDIT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.careJourneyMetadata.items",
        "extension": [
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-group"
              },
              {
                "url": "value",
                "valueString": "Items"
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          },
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-order"
              },
              {
                "url": "value",
                "valueInteger": 8
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          }
        ],
        "path": "OLCarerContingencyPlan.context.careJourneyMetadata.items",
        "short": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "definition": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "CLUSTER.items",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ITEM"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.context.careJourneyMetadata.carePlanName",
        "path": "OLCarerContingencyPlan.context.careJourneyMetadata.carePlanName",
        "short": "Care plan name",
        "definition": "[at0001] The name , preferably coded of the Care plan with which this journey is associated, and against which the composition was updated.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.context.careJourneyMetadata.carePlanName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.careJourneyMetadata.carePlanIdentifier[x]",
        "path": "OLCarerContingencyPlan.context.careJourneyMetadata.carePlanIdentifier[x]",
        "short": "Care plan identifier",
        "definition": "at0002: The identifier , preferably coded, of the Care plan with which this journey is associated, and against which the composition was updated.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.context.careJourneyMetadata.carePlanIdentifier[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          },
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvIdentifier"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.careJourneyMetadata.patientJourneyIdentifier[x]",
        "path": "OLCarerContingencyPlan.context.careJourneyMetadata.patientJourneyIdentifier[x]",
        "short": "Patient journey identifier",
        "definition": "at0003: A patient-journey specific identifier i.e unique to a patient's journey along a specific care pathway.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.context.careJourneyMetadata.patientJourneyIdentifier[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          },
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvIdentifier"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities",
        "short": "Personal responsibilities",
        "definition": "[openEHR-EHR-EVALUATION.personal_responsibilities.v1] Personal responsibilities",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/EVALUATION"
          }
        ],
        "constraint": [
          {
            "key": "Links_valid",
            "severity": "error",
            "human": "Links valid must be present",
            "expression": "links.exists() implies links.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetyped_valid",
            "severity": "error",
            "human": "Archetyped valid must satisfy exclusive conditions",
            "expression": "is_archetype_root() xor archetype_details .empty()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetype_node_id_valid",
            "severity": "error",
            "human": "Archetype node id valid must not be empty",
            "expression": "archetype_node_id.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Subject_validity",
            "severity": "error",
            "human": "Subject validity must satisfy conditional constraints",
            "expression": "subject_is_self() implies subject.generating_type = “PARTY_SELF”",
            "source": "http://openehr.org/fhir/StructureDefinition/ENTRY"
          },
          {
            "key": "Other_participations_valid",
            "severity": "error",
            "human": "Other participations valid must be present",
            "expression": "other_participations.exists() implies other_participations.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/ENTRY"
          },
          {
            "key": "Is_archetype_root",
            "severity": "error",
            "human": "Is archetype root",
            "expression": "is_archetype_root()",
            "source": "http://openehr.org/fhir/StructureDefinition/ENTRY"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.name",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.name",
        "short": "Runtime name of this fragment, used to build runtime paths.",
        "definition": "Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.name",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV-TEXT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.archetype-node-id",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.archetype_node_id",
        "short": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths.",
        "definition": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g.  `at0005`. This value enables a 'standardised' name for this node to be generated, by referring to the generating archetype local terminology. \n\nAt an archetype root point, the value of this attribute is always the stringified form of the `_archetype_id_` found in the `_archetype_details_` object.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_node_id",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.uid",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.uid",
        "short": "Optional globally unique object identifier for root points of archetyped structures.",
        "definition": "Optional globally unique object identifier for root points of archetyped structures.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.uid",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/UID-BASED-ID"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.links",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.links",
        "short": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on).",
        "definition": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on). Links may be to structures in other compositions.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "LOCATABLE.links",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/LINK"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.archetype-details",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.archetype_details",
        "short": "Details of archetyping used on this node.",
        "definition": "Details of archetyping used on this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_details",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ARCHETYPED"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.feeder-audit",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.feeder_audit",
        "short": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "definition": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.feeder_audit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/FEEDER-AUDIT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.language",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.language",
        "short": "Mandatory indicator of the localised language in which this Entry is written.",
        "definition": "Mandatory indicator of the localised language in which this Entry is written. Coded from openEHR Code Set  languages .",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ENTRY.language",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/CODE-PHRASE"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.encoding",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.encoding",
        "short": "Name of character set in which text values in this Entry are encoded.",
        "definition": "Name of character set in which text values in this Entry are encoded. Coded from openEHR Code Set  character sets.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ENTRY.encoding",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/CODE-PHRASE"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.other-participations",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.other_participations",
        "short": "Other participations at `ENTRY` level.",
        "definition": "Other participations at `ENTRY` level.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "ENTRY.other_participations",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/PARTICIPATION"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.workflow-id",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.workflow_id",
        "short": "Identifier of externally held workflow engine data for this workflow execution, for this subject of care.",
        "definition": "Identifier of externally held workflow engine data for this workflow execution, for this subject of care.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ENTRY.workflow_id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/OBJECT-REF"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.subject",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.subject",
        "short": "Id of human subject of this `ENTRY`, e.",
        "definition": "Id of human subject of this `ENTRY`, e.g.: \n\n* organ donor \n* foetus \n* a family member \n* another clinically relevant person.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "ENTRY.subject",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/PARTY-PROXY"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.provider",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.provider",
        "short": "Optional identification of provider of the information in this `ENTRY`, which might be: \n\n* the patient \n* a patient agent, e.",
        "definition": "Optional identification of provider of the information in this `ENTRY`, which might be: \n\n* the patient \n* a patient agent, e.g. parent, guardian \n* the clinician \n* a device or software \n\nGenerally only used when the recorder needs to make it explicit. Otherwise, Composition composer and other participants are assumed.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "ENTRY.provider",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/PARTY-PROXY"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.protocol",
        "extension": [
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-group"
              },
              {
                "url": "value",
                "valueString": "Protocol"
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          },
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-order"
              },
              {
                "url": "value",
                "valueInteger": 4
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          }
        ],
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.protocol",
        "short": "Description of the method (i.",
        "definition": "Description of the method (i.e. how) the information in this entry was arrived at. For `OBSERVATIONs`, this is a description of the method or instrument used. For `EVALUATIONs`, how the evaluation was arrived at. For `INSTRUCTIONs`, how to execute the Instruction. This may take the form of references to guidelines, including manually followed and executable; knowledge references such as a paper in Medline; clinical reasons within a larger care process.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CARE_ENTRY.protocol",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ITEM-STRUCTURE"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.guideline-id",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.guideline_id",
        "short": "Optional external identifier of guideline creating this Entry if relevant.",
        "definition": "Optional external identifier of guideline creating this Entry if relevant.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "CARE_ENTRY.guideline_id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/OBJECT-REF"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.data",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.data",
        "short": "The data of this evaluation, in the form of a spatial data structure.",
        "definition": "The data of this evaluation, in the form of a spatial data structure.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EVALUATION.data",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ITEM-STRUCTURE"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.responsibilitiesStatus",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.responsibilitiesStatus",
        "short": "Responsibilities status",
        "definition": "[at0036]",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.responsibilitiesStatus",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanResponsibilitiesStatus"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.description",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.description",
        "short": "Description",
        "definition": "[at0043]",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.description",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility",
        "short": "Primary carer /parental responsibility",
        "definition": "[at0005]",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ],
        "constraint": [
          {
            "key": "Links_valid",
            "severity": "error",
            "human": "Links valid must be present",
            "expression": "links.exists() implies links.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetyped_valid",
            "severity": "error",
            "human": "Archetyped valid must satisfy exclusive conditions",
            "expression": "is_archetype_root() xor archetype_details .empty()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetype_node_id_valid",
            "severity": "error",
            "human": "Archetype node id valid must not be empty",
            "expression": "archetype_node_id.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.name",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.name",
        "short": "Runtime name of this fragment, used to build runtime paths.",
        "definition": "Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.name",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV-TEXT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.archetype-node-id",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.archetype_node_id",
        "short": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths.",
        "definition": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g.  `at0005`. This value enables a 'standardised' name for this node to be generated, by referring to the generating archetype local terminology. \n\nAt an archetype root point, the value of this attribute is always the stringified form of the `_archetype_id_` found in the `_archetype_details_` object.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_node_id",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.uid",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.uid",
        "short": "Optional globally unique object identifier for root points of archetyped structures.",
        "definition": "Optional globally unique object identifier for root points of archetyped structures.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.uid",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/UID-BASED-ID"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.links",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.links",
        "short": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on).",
        "definition": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on). Links may be to structures in other compositions.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "LOCATABLE.links",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/LINK"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.archetype-details",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.archetype_details",
        "short": "Details of archetyping used on this node.",
        "definition": "Details of archetyping used on this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_details",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ARCHETYPED"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.feeder-audit",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.feeder_audit",
        "short": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "definition": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.feeder_audit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/FEEDER-AUDIT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.items",
        "extension": [
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-group"
              },
              {
                "url": "value",
                "valueString": "Items"
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          },
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-order"
              },
              {
                "url": "value",
                "valueInteger": 8
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          }
        ],
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.items",
        "short": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "definition": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "CLUSTER.items",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ITEM"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.careContingencyPlanStatus",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.careContingencyPlanStatus",
        "short": "Care contingency plan status",
        "definition": "[at0035]",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.careContingencyPlanStatus",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanCareContingencyPlanStatus"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.caredForPerson",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.caredForPerson",
        "short": "Cared for person",
        "definition": "[at0010]",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.caredForPerson",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.howLongCanTheyWaitOnTheirOwn",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.howLongCanTheyWaitOnTheirOwn",
        "short": "How long can they wait on their own",
        "definition": "[at0011]",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.howLongCanTheyWaitOnTheirOwn",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer",
        "short": "Replacement carer",
        "definition": "[at0013]",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ],
        "constraint": [
          {
            "key": "Links_valid",
            "severity": "error",
            "human": "Links valid must be present",
            "expression": "links.exists() implies links.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetyped_valid",
            "severity": "error",
            "human": "Archetyped valid must satisfy exclusive conditions",
            "expression": "is_archetype_root() xor archetype_details .empty()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetype_node_id_valid",
            "severity": "error",
            "human": "Archetype node id valid must not be empty",
            "expression": "archetype_node_id.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.name",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.name",
        "short": "Runtime name of this fragment, used to build runtime paths.",
        "definition": "Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.name",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV-TEXT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.archetype-node-id",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.archetype_node_id",
        "short": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths.",
        "definition": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g.  `at0005`. This value enables a 'standardised' name for this node to be generated, by referring to the generating archetype local terminology. \n\nAt an archetype root point, the value of this attribute is always the stringified form of the `_archetype_id_` found in the `_archetype_details_` object.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_node_id",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.uid",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.uid",
        "short": "Optional globally unique object identifier for root points of archetyped structures.",
        "definition": "Optional globally unique object identifier for root points of archetyped structures.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.uid",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/UID-BASED-ID"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.links",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.links",
        "short": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on).",
        "definition": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on). Links may be to structures in other compositions.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "LOCATABLE.links",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/LINK"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.archetype-details",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.archetype_details",
        "short": "Details of archetyping used on this node.",
        "definition": "Details of archetyping used on this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_details",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ARCHETYPED"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.feeder-audit",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.feeder_audit",
        "short": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "definition": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.feeder_audit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/FEEDER-AUDIT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.items",
        "extension": [
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-group"
              },
              {
                "url": "value",
                "valueString": "Items"
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          },
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-order"
              },
              {
                "url": "value",
                "valueInteger": 8
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          }
        ],
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.items",
        "short": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "definition": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "CLUSTER.items",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ITEM"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member",
        "short": "Member",
        "definition": "[openEHR-EHR-CLUSTER.contact_cc.v0] Contacts for patients and organisations (excluding practitioners).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ],
        "constraint": [
          {
            "key": "Links_valid",
            "severity": "error",
            "human": "Links valid must be present",
            "expression": "links.exists() implies links.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetyped_valid",
            "severity": "error",
            "human": "Archetyped valid must satisfy exclusive conditions",
            "expression": "is_archetype_root() xor archetype_details .empty()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetype_node_id_valid",
            "severity": "error",
            "human": "Archetype node id valid must not be empty",
            "expression": "archetype_node_id.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.name",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.name",
        "short": "Runtime name of this fragment, used to build runtime paths.",
        "definition": "Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.name",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV-TEXT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.archetype-node-id",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.archetype_node_id",
        "short": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths.",
        "definition": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g.  `at0005`. This value enables a 'standardised' name for this node to be generated, by referring to the generating archetype local terminology. \n\nAt an archetype root point, the value of this attribute is always the stringified form of the `_archetype_id_` found in the `_archetype_details_` object.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_node_id",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.uid",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.uid",
        "short": "Optional globally unique object identifier for root points of archetyped structures.",
        "definition": "Optional globally unique object identifier for root points of archetyped structures.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.uid",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/UID-BASED-ID"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.links",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.links",
        "short": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on).",
        "definition": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on). Links may be to structures in other compositions.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "LOCATABLE.links",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/LINK"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.archetype-details",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.archetype_details",
        "short": "Details of archetyping used on this node.",
        "definition": "Details of archetyping used on this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_details",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ARCHETYPED"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.feeder-audit",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.feeder_audit",
        "short": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "definition": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.feeder_audit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/FEEDER-AUDIT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.items",
        "extension": [
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-group"
              },
              {
                "url": "value",
                "valueString": "Items"
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          },
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-order"
              },
              {
                "url": "value",
                "valueInteger": 8
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          }
        ],
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.items",
        "short": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "definition": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "CLUSTER.items",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ITEM"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.relationship",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.relationship",
        "short": "Relationship",
        "definition": "[at0001] The relationship between the subject and the contact. This field is only appropriate when the archetype is used for patient contacts, not for organisation contacts.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.relationship",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "preferred",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanRelationship"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.primaryContact",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.primaryContact",
        "short": "Primary contact",
        "definition": "[at0001] The relationship between the subject and the contact. This field is only appropriate when the archetype is used for patient contacts, not for organisation contacts.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.primaryContact",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanPrimaryContact"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.supportContactType",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.supportContactType",
        "short": "Support contact type",
        "definition": "[at0001] The relationship between the subject and the contact. This field is only appropriate when the archetype is used for patient contacts, not for organisation contacts.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.supportContactType",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanSupportContactType"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.additionalInformation",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.additionalInformation",
        "short": "Additional information",
        "definition": "[at0013] Indicates a purpose for which the contact can be reached. This field is only appropriate when the archetype is used inside an organisation cluster.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.additionalInformation",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername",
        "short": "Name",
        "definition": "[openEHR-EHR-CLUSTER.name_cc.v0] Name details aligned with FHIR resource.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ],
        "constraint": [
          {
            "key": "Links_valid",
            "severity": "error",
            "human": "Links valid must be present",
            "expression": "links.exists() implies links.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetyped_valid",
            "severity": "error",
            "human": "Archetyped valid must satisfy exclusive conditions",
            "expression": "is_archetype_root() xor archetype_details .empty()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetype_node_id_valid",
            "severity": "error",
            "human": "Archetype node id valid must not be empty",
            "expression": "archetype_node_id.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.name",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.name",
        "short": "Runtime name of this fragment, used to build runtime paths.",
        "definition": "Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.name",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV-TEXT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.archetype-node-id",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.archetype_node_id",
        "short": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths.",
        "definition": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g.  `at0005`. This value enables a 'standardised' name for this node to be generated, by referring to the generating archetype local terminology. \n\nAt an archetype root point, the value of this attribute is always the stringified form of the `_archetype_id_` found in the `_archetype_details_` object.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_node_id",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.uid",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.uid",
        "short": "Optional globally unique object identifier for root points of archetyped structures.",
        "definition": "Optional globally unique object identifier for root points of archetyped structures.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.uid",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/UID-BASED-ID"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.links",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.links",
        "short": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on).",
        "definition": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on). Links may be to structures in other compositions.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "LOCATABLE.links",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/LINK"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.archetype-details",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.archetype_details",
        "short": "Details of archetyping used on this node.",
        "definition": "Details of archetyping used on this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_details",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ARCHETYPED"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.feeder-audit",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.feeder_audit",
        "short": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "definition": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.feeder_audit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/FEEDER-AUDIT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.items",
        "extension": [
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-group"
              },
              {
                "url": "value",
                "valueString": "Items"
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          },
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-order"
              },
              {
                "url": "value",
                "valueInteger": 8
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          }
        ],
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.items",
        "short": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "definition": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "CLUSTER.items",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ITEM"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.use",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.use",
        "short": "Use",
        "definition": "[at0001] Identification of the purpose for the name.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.use",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanUse"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.contactName",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.contactName",
        "short": "Contact name",
        "definition": "[at0009] A text representation of the full name.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.contactName",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact",
        "short": "Telecom contact",
        "definition": "[openEHR-EHR-CLUSTER.telecom_cc.v0] FHIR telecom details.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ],
        "constraint": [
          {
            "key": "Links_valid",
            "severity": "error",
            "human": "Links valid must be present",
            "expression": "links.exists() implies links.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetyped_valid",
            "severity": "error",
            "human": "Archetyped valid must satisfy exclusive conditions",
            "expression": "is_archetype_root() xor archetype_details .empty()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetype_node_id_valid",
            "severity": "error",
            "human": "Archetype node id valid must not be empty",
            "expression": "archetype_node_id.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.name",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.name",
        "short": "Runtime name of this fragment, used to build runtime paths.",
        "definition": "Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.name",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV-TEXT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.archetype-node-id",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.archetype_node_id",
        "short": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths.",
        "definition": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g.  `at0005`. This value enables a 'standardised' name for this node to be generated, by referring to the generating archetype local terminology. \n\nAt an archetype root point, the value of this attribute is always the stringified form of the `_archetype_id_` found in the `_archetype_details_` object.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_node_id",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.uid",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.uid",
        "short": "Optional globally unique object identifier for root points of archetyped structures.",
        "definition": "Optional globally unique object identifier for root points of archetyped structures.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.uid",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/UID-BASED-ID"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.links",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.links",
        "short": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on).",
        "definition": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on). Links may be to structures in other compositions.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "LOCATABLE.links",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/LINK"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.archetype-details",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.archetype_details",
        "short": "Details of archetyping used on this node.",
        "definition": "Details of archetyping used on this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_details",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ARCHETYPED"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.feeder-audit",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.feeder_audit",
        "short": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "definition": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.feeder_audit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/FEEDER-AUDIT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.items",
        "extension": [
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-group"
              },
              {
                "url": "value",
                "valueString": "Items"
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          },
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-order"
              },
              {
                "url": "value",
                "valueInteger": 8
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          }
        ],
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.items",
        "short": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "definition": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "CLUSTER.items",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ITEM"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.contactType",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.contactType",
        "short": "Contact type",
        "definition": "[at0001] Telecommunications form for contact point - what communications system is required to make use of the contact.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.contactType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanContactType"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.contactValue",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.contactValue",
        "short": "Contact value",
        "definition": "[at0002] The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.contactValue",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address",
        "short": "Address",
        "definition": "[openEHR-EHR-CLUSTER.address_cc.v0] Address details aligned with FHIR resource.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ],
        "constraint": [
          {
            "key": "Links_valid",
            "severity": "error",
            "human": "Links valid must be present",
            "expression": "links.exists() implies links.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetyped_valid",
            "severity": "error",
            "human": "Archetyped valid must satisfy exclusive conditions",
            "expression": "is_archetype_root() xor archetype_details .empty()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetype_node_id_valid",
            "severity": "error",
            "human": "Archetype node id valid must not be empty",
            "expression": "archetype_node_id.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.name",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.name",
        "short": "Runtime name of this fragment, used to build runtime paths.",
        "definition": "Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.name",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV-TEXT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.archetype-node-id",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.archetype_node_id",
        "short": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths.",
        "definition": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g.  `at0005`. This value enables a 'standardised' name for this node to be generated, by referring to the generating archetype local terminology. \n\nAt an archetype root point, the value of this attribute is always the stringified form of the `_archetype_id_` found in the `_archetype_details_` object.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_node_id",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.uid",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.uid",
        "short": "Optional globally unique object identifier for root points of archetyped structures.",
        "definition": "Optional globally unique object identifier for root points of archetyped structures.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.uid",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/UID-BASED-ID"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.links",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.links",
        "short": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on).",
        "definition": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on). Links may be to structures in other compositions.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "LOCATABLE.links",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/LINK"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.archetype-details",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.archetype_details",
        "short": "Details of archetyping used on this node.",
        "definition": "Details of archetyping used on this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_details",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ARCHETYPED"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.feeder-audit",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.feeder_audit",
        "short": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "definition": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.feeder_audit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/FEEDER-AUDIT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.items",
        "extension": [
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-group"
              },
              {
                "url": "value",
                "valueString": "Items"
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          },
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-order"
              },
              {
                "url": "value",
                "valueInteger": 8
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          }
        ],
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.items",
        "short": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "definition": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "CLUSTER.items",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ITEM"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.addressUse",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.addressUse",
        "short": "Address Use",
        "definition": "[at0001] The purpose of the address.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.addressUse",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanAddressUse"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.street",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.street",
        "short": "Street",
        "definition": "[at0011] This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.street",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.street2",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.street2",
        "short": "Street2",
        "definition": "[at0011] This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.street2",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.city",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.city",
        "short": "City",
        "definition": "[at0012] The name of the city, town, village or other community or delivery center.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.city",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.county",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.county",
        "short": "County",
        "definition": "[at0013] The name of the administrative area (county).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.county",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.postalCode",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.postalCode",
        "short": "Postal code",
        "definition": "[at0014] A postal code designating a region defined by the postal service.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.postalCode",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.country",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.country",
        "short": "Country",
        "definition": "[at0015] Country - a nation as commonly understood or generally accepted.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.country",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.dateAdded",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.dateAdded",
        "short": "Date added",
        "definition": "[at0011] Date and time when contact detail starts to be valid.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.dateAdded",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvDateTime"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.hasThePersonConsentedToTheReplacement",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.hasThePersonConsentedToTheReplacement",
        "short": "Has the person consented to the replacement",
        "definition": "[at0012]",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.hasThePersonConsentedToTheReplacement",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanHasThePersonConsentedToTheReplacement"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.replacementHasConsentedToBeingContacted",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.replacementHasConsentedToBeingContacted",
        "short": "Replacement has consented to being contacted",
        "definition": "[at0016]",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.replacementHasConsentedToBeingContacted",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanReplacementHasConsentedToBeingContacted"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.replacementHasConsentedToActingInThatRole",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.replacementHasConsentedToActingInThatRole",
        "short": "Replacement has consented to acting in that role",
        "definition": "[at0017]",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.replacementHasConsentedToActingInThatRole",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanReplacementHasConsentedToActingInThatRole"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.replacementHasACopyOfContingencyPlan",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.replacementHasACopyOfContingencyPlan",
        "short": "Replacement has a copy of contingency plan",
        "definition": "[at0026]",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.replacementHasACopyOfContingencyPlan",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanReplacementHasACopyOfContingencyPlan"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.pet",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.pet",
        "short": "Pet",
        "definition": "[at0040]",
        "min": 0,
        "max": "*",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.pet",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ],
        "constraint": [
          {
            "key": "Links_valid",
            "severity": "error",
            "human": "Links valid must be present",
            "expression": "links.exists() implies links.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetyped_valid",
            "severity": "error",
            "human": "Archetyped valid must satisfy exclusive conditions",
            "expression": "is_archetype_root() xor archetype_details .empty()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          },
          {
            "key": "Archetype_node_id_valid",
            "severity": "error",
            "human": "Archetype node id valid must not be empty",
            "expression": "archetype_node_id.empty().not()",
            "source": "http://openehr.org/fhir/StructureDefinition/LOCATABLE"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.pet.name",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.pet.name",
        "short": "Runtime name of this fragment, used to build runtime paths.",
        "definition": "Runtime name of this fragment, used to build runtime paths. This is the term provided via a clinical application or batch process to name this EHR construct: its retention in the EHR faithfully preserves the original label by which this entry was known to end users.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.name",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/DV-TEXT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.pet.archetype-node-id",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.pet.archetype_node_id",
        "short": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths.",
        "definition": "Design-time archetype identifier of this node taken from its generating archetype; used to build archetype paths. Always in the form of an at-code, e.g.  `at0005`. This value enables a 'standardised' name for this node to be generated, by referring to the generating archetype local terminology. \n\nAt an archetype root point, the value of this attribute is always the stringified form of the `_archetype_id_` found in the `_archetype_details_` object.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_node_id",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.pet.uid",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.pet.uid",
        "short": "Optional globally unique object identifier for root points of archetyped structures.",
        "definition": "Optional globally unique object identifier for root points of archetyped structures.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.uid",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/UID-BASED-ID"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.pet.links",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.pet.links",
        "short": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on).",
        "definition": "Links to other archetyped structures (data whose root object inherits from `ARCHETYPED`, such as `ENTRY`, `SECTION` and so on). Links may be to structures in other compositions.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "LOCATABLE.links",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/LINK"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.pet.archetype-details",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.pet.archetype_details",
        "short": "Details of archetyping used on this node.",
        "definition": "Details of archetyping used on this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.archetype_details",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ARCHETYPED"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.pet.feeder-audit",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.pet.feeder_audit",
        "short": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "definition": "Audit trail from non-openEHR system of original commit of information forming the content of this node, or from a conversion gateway which has synthesised this node.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "LOCATABLE.feeder_audit",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/FEEDER-AUDIT"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.pet.items",
        "extension": [
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-group"
              },
              {
                "url": "value",
                "valueString": "Items"
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          },
          {
            "extension": [
              {
                "url": "name",
                "valueCode": "element-view-order"
              },
              {
                "url": "value",
                "valueInteger": 8
              }
            ],
            "url": "http://hl7.org/fhir/tools/StructureDefinition/view-hint"
          }
        ],
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.pet.items",
        "short": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "definition": "Ordered list of items - `CLUSTER` or `ELEMENT` objects - under this `CLUSTER`.",
        "min": 1,
        "max": "*",
        "base": {
          "path": "CLUSTER.items",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/ITEM"
          }
        ],
        "isModifier": false
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.pet.petDetails",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.pet.petDetails",
        "short": "Pet details",
        "definition": "[at0041]",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.pet.petDetails",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.dateLastUpdated",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.dateLastUpdated",
        "short": "Date last updated",
        "definition": "[at0004]",
        "min": 0,
        "max": "1",
        "base": {
          "path": "OLCarerContingencyPlan.PersonalResponsibilities.dateLastUpdated",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvDateTime"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "OLCarerContingencyPlan",
        "path": "OLCarerContingencyPlan",
        "short": "OL - Carer contingency plan",
        "definition": "[openEHR-EHR-COMPOSITION.anticipatory_care_information.v0] A framework to communicate information that has been captured and curated in anticipation of future need for care."
      },
      {
        "id": "OLCarerContingencyPlan.codedText",
        "path": "OLCarerContingencyPlan.codedText",
        "short": "coded_text",
        "definition": "[at0001] ",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanCodedText"
        }
      },
      {
        "id": "OLCarerContingencyPlan.composer",
        "path": "OLCarerContingencyPlan.composer",
        "short": "composer",
        "definition": "[RM] The person primarily responsible for the content of the Composition (but not necessarily its committal into the EHR system). This is the identifier which should appear on the screen. It may or may not be the person who entered the data. When it is the patient, the special self instance of `PARTY_SELF` will be used.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/PARTY_PROXY",
            "profile": [
              "http://openehr.org/fhir/StructureDefinition/PARTY-PROXY"
            ]
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context",
        "path": "OLCarerContingencyPlan.context",
        "short": "Context",
        "definition": "[at0002] `COMPOSITION.context` - Documents the context information of a healthcare event involving the subject of care and the health system. The context information recorded here are independent of the attributes recorded in the version audit, which document the system interaction context, i.e. the context of a user interacting with the health record system. Healthcare events include patient contacts, and any other business activity, such as pathology investigations which take place on behalf of the patient.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/EVENT_CONTEXT",
            "profile": [
              "http://openehr.org/fhir/StructureDefinition/EVENT-CONTEXT"
            ]
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.startTime",
        "path": "OLCarerContingencyPlan.context.startTime",
        "short": "start_time",
        "definition": "[RM] COMPOSITION.context.start_time - Start time of the clinical session or other kind of event during which a provider performs a service of any kind for the patient.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvDateTime"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.setting",
        "path": "OLCarerContingencyPlan.context.setting",
        "short": "setting",
        "definition": "[RM] The setting in which the clinical session took place. Coded using the openEHR Terminology, setting group.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanSetting"
        }
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata",
        "path": "OLCarerContingencyPlan.context.xDSMetadata",
        "short": "XDS Metadata",
        "definition": "[openEHR-EHR-CLUSTER.xds_metadata.v0] Additional composition metadata aligned with IHE-XDS which is not already available from the Reference Model COMPOSITION class.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.authorSpecialty",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.authorSpecialty",
        "short": "Author specialty",
        "definition": "[at0001] The speciality of the author/composer of the document.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.classCode",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.classCode",
        "short": "Class code",
        "definition": "[at0002] A high-level document class code, normally selected from a valueset provided by the IHE-XDS Affinity Domain.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.documentType",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.documentType",
        "short": "Document type",
        "definition": "[at0003] The code specifying the precise type of document from the user perspective. Normally selected from a valueset provided by the local IHE-XDS Affinity Domain or national standard.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.confidentialityCode",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.confidentialityCode",
        "short": "Confidentiality code",
        "definition": "[at0004] A term specifying the level of confidentiality of the XDS Document.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.healthCareFacilityType",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.healthCareFacilityType",
        "short": "Health care facility type",
        "definition": "[at0007] A term defining the healthcare facility type.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.practiceSettingCode",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.practiceSettingCode",
        "short": "Practice setting code",
        "definition": "[at0009] The code specifying the clinical specialty where the act that resulted in the document was performed.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.eventCode",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.eventCode",
        "short": "Event code",
        "definition": "[at0011] This list of codes represents the main clinical acts.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.xDSMetadata.documentMedia",
        "path": "OLCarerContingencyPlan.context.xDSMetadata.documentMedia",
        "short": "Document_media",
        "definition": "[at0010] Additional metadata about the document itself, including size, url.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvMultimedia"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.careJourneyMetadata",
        "path": "OLCarerContingencyPlan.context.careJourneyMetadata",
        "short": "Care journey metadata",
        "definition": "[openEHR-EHR-CLUSTER.care_journey_metadata.v0] Tp capture Care plan metadata",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.careJourneyMetadata.carePlanName",
        "path": "OLCarerContingencyPlan.context.careJourneyMetadata.carePlanName",
        "short": "Care plan name",
        "definition": "[at0001] The name , preferably coded of the Care plan with which this journey is associated, and against which the composition was updated.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.careJourneyMetadata.carePlanIdentifier[x]",
        "path": "OLCarerContingencyPlan.context.careJourneyMetadata.carePlanIdentifier[x]",
        "short": "Care plan identifier",
        "definition": "at0002: The identifier , preferably coded, of the Care plan with which this journey is associated, and against which the composition was updated.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          },
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvIdentifier"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.context.careJourneyMetadata.patientJourneyIdentifier[x]",
        "path": "OLCarerContingencyPlan.context.careJourneyMetadata.patientJourneyIdentifier[x]",
        "short": "Patient journey identifier",
        "definition": "at0003: A patient-journey specific identifier i.e unique to a patient's journey along a specific care pathway.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          },
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvIdentifier"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities",
        "short": "Personal responsibilities",
        "definition": "[openEHR-EHR-EVALUATION.personal_responsibilities.v1] Personal responsibilities",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "http://openehr.org/fhir/StructureDefinition/EVALUATION"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.responsibilitiesStatus",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.responsibilitiesStatus",
        "short": "Responsibilities status",
        "definition": "[at0036] ",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanResponsibilitiesStatus"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.description",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.description",
        "short": "Description",
        "definition": "[at0043] ",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility",
        "short": "Primary carer /parental responsibility",
        "definition": "[at0005] ",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.careContingencyPlanStatus",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.careContingencyPlanStatus",
        "short": "Care contingency plan status",
        "definition": "[at0035] ",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanCareContingencyPlanStatus"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.caredForPerson",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.caredForPerson",
        "short": "Cared for person",
        "definition": "[at0010] ",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.howLongCanTheyWaitOnTheirOwn",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.howLongCanTheyWaitOnTheirOwn",
        "short": "How long can they wait on their own",
        "definition": "[at0011] ",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer",
        "short": "Replacement carer",
        "definition": "[at0013] ",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member",
        "short": "Member",
        "definition": "[openEHR-EHR-CLUSTER.contact_cc.v0] Contacts for patients and organisations (excluding practitioners).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.relationship",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.relationship",
        "short": "Relationship",
        "definition": "[at0001] The relationship between the subject and the contact. This field is only appropriate when the archetype is used for patient contacts, not for organisation contacts.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "preferred",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanRelationship"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.primaryContact",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.primaryContact",
        "short": "Primary contact",
        "definition": "[at0001] The relationship between the subject and the contact. This field is only appropriate when the archetype is used for patient contacts, not for organisation contacts.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanPrimaryContact"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.supportContactType",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.supportContactType",
        "short": "Support contact type",
        "definition": "[at0001] The relationship between the subject and the contact. This field is only appropriate when the archetype is used for patient contacts, not for organisation contacts.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanSupportContactType"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.additionalInformation",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.additionalInformation",
        "short": "Additional information",
        "definition": "[at0013] Indicates a purpose for which the contact can be reached. This field is only appropriate when the archetype is used inside an organisation cluster.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername",
        "short": "Name",
        "definition": "[openEHR-EHR-CLUSTER.name_cc.v0] Name details aligned with FHIR resource.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.use",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.use",
        "short": "Use",
        "definition": "[at0001] Identification of the purpose for the name.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanUse"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.contactName",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.membername.contactName",
        "short": "Contact name",
        "definition": "[at0009] A text representation of the full name.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact",
        "short": "Telecom contact",
        "definition": "[openEHR-EHR-CLUSTER.telecom_cc.v0] FHIR telecom details.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.contactType",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.contactType",
        "short": "Contact type",
        "definition": "[at0001] Telecommunications form for contact point - what communications system is required to make use of the contact.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanContactType"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.contactValue",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.telecomContact.contactValue",
        "short": "Contact value",
        "definition": "[at0002] The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address",
        "short": "Address",
        "definition": "[openEHR-EHR-CLUSTER.address_cc.v0] Address details aligned with FHIR resource.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.addressUse",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.addressUse",
        "short": "Address Use",
        "definition": "[at0001] The purpose of the address.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanAddressUse"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.street",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.street",
        "short": "Street",
        "definition": "[at0011] This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.street2",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.street2",
        "short": "Street2",
        "definition": "[at0011] This component contains the house number, apartment number, street name, street direction, P.O. Box number, delivery hints, and similar address information.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.city",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.city",
        "short": "City",
        "definition": "[at0012] The name of the city, town, village or other community or delivery center.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.county",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.county",
        "short": "County",
        "definition": "[at0013] The name of the administrative area (county).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.postalCode",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.postalCode",
        "short": "Postal code",
        "definition": "[at0014] A postal code designating a region defined by the postal service.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.country",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.address.country",
        "short": "Country",
        "definition": "[at0015] Country - a nation as commonly understood or generally accepted.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.dateAdded",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.member.dateAdded",
        "short": "Date added",
        "definition": "[at0011] Date and time when contact detail starts to be valid.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvDateTime"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.hasThePersonConsentedToTheReplacement",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.hasThePersonConsentedToTheReplacement",
        "short": "Has the person consented to the replacement",
        "definition": "[at0012] ",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanHasThePersonConsentedToTheReplacement"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.replacementHasConsentedToBeingContacted",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.replacementHasConsentedToBeingContacted",
        "short": "Replacement has consented to being contacted",
        "definition": "[at0016] ",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanReplacementHasConsentedToBeingContacted"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.replacementHasConsentedToActingInThatRole",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.replacementHasConsentedToActingInThatRole",
        "short": "Replacement has consented to acting in that role",
        "definition": "[at0017] ",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanReplacementHasConsentedToActingInThatRole"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.replacementHasACopyOfContingencyPlan",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.primaryCarerParentalResponsibility.replacementCarer.replacementHasACopyOfContingencyPlan",
        "short": "Replacement has a copy of contingency plan",
        "definition": "[at0026] ",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvCodedText"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://ianbennett.github.io/ExampleIG_Ian/ValueSet/OLCarerContingencyPlanReplacementHasACopyOfContingencyPlan"
        }
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.pet",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.pet",
        "short": "Pet",
        "definition": "[at0040] ",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/Cluster"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.pet.petDetails",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.pet.petDetails",
        "short": "Pet details",
        "definition": "[at0041] ",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvText"
          }
        ]
      },
      {
        "id": "OLCarerContingencyPlan.PersonalResponsibilities.dateLastUpdated",
        "path": "OLCarerContingencyPlan.PersonalResponsibilities.dateLastUpdated",
        "short": "Date last updated",
        "definition": "[at0004] ",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://ianbennett.github.io/ExampleIG_Ian/StructureDefinition/DvDateTime"
          }
        ]
      }
    ]
  }
}