{
  "resourceType": "StructureDefinition",
  "id": "AdvanceInterventionInformation",
  "url": "http://openehr.org/StructureDefinition/AdvanceInterventionInformation",
  "version": "1.3.0",
  "name": "AdvanceInterventionInformation",
  "title": "ROSI - Advance Intervention information",
  "status": "active",
  "description": "`[openEHR-EHR-COMPOSITION.anticipatory_care_information.v0]`\n                             A framework to communicate information that has been captured and curated in anticipation of future need for care.)",
  "fhirVersion": "4.0.1",
  "kind": "logical",
  "abstract": false,
  "type": "http://openehr.org/StructureDefinition/AdvanceInterventionInformation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "differential": {
    "element": [
      {
        "id": "AdvanceInterventionInformation",
        "path": "AdvanceInterventionInformation",
        "short": "ROSI - Advance Intervention information",
        "definition": "`[openEHR-EHR-COMPOSITION.anticipatory_care_information.v0]`\n                             A framework to communicate information that has been captured and curated in anticipation of future need for care.)"
      },
      {
        "id": "AdvanceInterventionInformation.codedText",
        "path": "AdvanceInterventionInformation.codedText",
        "short": "coded_text",
        "definition": "`[at0001]`\n                             )",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://freshehr.com/mods/ValueSet/CodedText"
        }
      },
      {
        "id": "AdvanceInterventionInformation.composer",
        "path": "AdvanceInterventionInformation.composer",
        "short": "composer",
        "definition": "`[RM]`\n                             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": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.context",
        "path": "AdvanceInterventionInformation.context",
        "short": "Context",
        "definition": "`[at0002]`\n                             `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": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.context.startTime",
        "path": "AdvanceInterventionInformation.context.startTime",
        "short": "start_time",
        "definition": "`[RM]`\n                             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": "dateTime"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.context.setting",
        "path": "AdvanceInterventionInformation.context.setting",
        "short": "setting",
        "definition": "`[RM]`\n                             The setting in which the clinical session took place. Coded using the openEHR Terminology, setting group.)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://freshehr.com/mods/ValueSet/Setting"
        }
      },
      {
        "id": "AdvanceInterventionInformation.context.xDSMetadata",
        "path": "AdvanceInterventionInformation.context.xDSMetadata",
        "short": "XDS Metadata",
        "definition": "`[openEHR-EHR-CLUSTER.xds_metadata.v0]`\n                             Additional composition metadata aligned with IHE-XDS which is not already available from the Reference Model COMPOSITION class.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.context.xDSMetadata.documentType",
        "path": "AdvanceInterventionInformation.context.xDSMetadata.documentType",
        "short": "Document type",
        "definition": "`[at0003]`\n                             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": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://freshehr.com/mods/ValueSet/DocumentType"
        }
      },
      {
        "id": "AdvanceInterventionInformation.context.patientSharing",
        "path": "AdvanceInterventionInformation.context.patientSharing",
        "short": "Patient sharing",
        "definition": "`[openEHR-EHR-CLUSTER.patient_sharing_rosi.v0]`\n                             patient sharing rosi)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.context.patientSharing.disableCPRDecisionSharingWithPatient",
        "path": "AdvanceInterventionInformation.context.patientSharing.disableCPRDecisionSharingWithPatient",
        "short": "Disable CPR decision sharing with patient",
        "definition": "`[at0003]`\n                             )",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://freshehr.com/mods/ValueSet/DisableCPRDecisionSharingWithPatient"
        }
      },
      {
        "id": "AdvanceInterventionInformation.context.patientSharing.reasonForNotSharingCPRDecision",
        "path": "AdvanceInterventionInformation.context.patientSharing.reasonForNotSharingCPRDecision",
        "short": "Reason for not sharing CPR decision",
        "definition": "`[at0004]`\n                             )",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.context.gPSynchDetails",
        "path": "AdvanceInterventionInformation.context.gPSynchDetails",
        "short": "GP synch details",
        "definition": "`[openEHR-EHR-CLUSTER.gp_synch_rosi.v0]`\n                             GP synch rosi)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.context.gPSynchDetails.dateFirstSynchronised",
        "path": "AdvanceInterventionInformation.context.gPSynchDetails.dateFirstSynchronised",
        "short": "Date first synchronised",
        "definition": "`[at0001]`\n                             )",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.context.gPSynchDetails.dateLastSynchronised",
        "path": "AdvanceInterventionInformation.context.gPSynchDetails.dateLastSynchronised",
        "short": "Date last synchronised",
        "definition": "`[at0002]`\n                             )",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.context.careJourneyMetadata",
        "path": "AdvanceInterventionInformation.context.careJourneyMetadata",
        "short": "Care journey metadata",
        "definition": "`[openEHR-EHR-CLUSTER.care_journey_metadata.v0]`\n                             Tp capture Care plan metadata)",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.context.careJourneyMetadata.carePlanName",
        "path": "AdvanceInterventionInformation.context.careJourneyMetadata.carePlanName",
        "short": "Care plan name",
        "definition": "`[at0001]`\n                             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": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.context.careJourneyMetadata.carePlanIdentifier",
        "path": "AdvanceInterventionInformation.context.careJourneyMetadata.carePlanIdentifier",
        "short": "Care plan identifier",
        "definition": "`[at0002]`\n                             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": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.context.careJourneyMetadata.patientJourneyIdentifier",
        "path": "AdvanceInterventionInformation.context.careJourneyMetadata.patientJourneyIdentifier",
        "short": "Patient journey identifier",
        "definition": "`[at0003]`\n                             A patient-journey specific identifier i.e unique to a patient's journey along a specific care pathway.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment",
        "path": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment",
        "short": "Advance decision to refuse treatment",
        "definition": "`[openEHR-EHR-EVALUATION.advance_care_directive.v1]`\n                             A framework to communicate the preferences of an individual for future medical treatment and care.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment.typeOfDirective",
        "path": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment.typeOfDirective",
        "short": "Type of directive",
        "definition": "`[at0005]`\n                             The type of advance care directive.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://freshehr.com/mods/ValueSet/TypeOfDirective"
        }
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment.status",
        "path": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment.status",
        "short": "Status",
        "definition": "`[at0004]`\n                             The status of the advance care directive.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://freshehr.com/mods/ValueSet/Status"
        }
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment.directiveLocation",
        "path": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment.directiveLocation",
        "short": "Directive location",
        "definition": "`[at0058]`\n                             Information regarding where the advance care directive is stored and who has a copy of it.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment.directiveLocation.location",
        "path": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment.directiveLocation.location",
        "short": "Location",
        "definition": "`[at0030]`\n                             Information regarding where the advance care directive is stored and how to gain access to it.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment.directiveLocation.aDRTAttachment",
        "path": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment.directiveLocation.aDRTAttachment",
        "short": "ADRT attachment",
        "definition": "`[openEHR-EHR-CLUSTER.multimedia_source.v0]`\n                             A multimedia resource that is generated or acquired during the provision of healthcare.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment.directiveLocation.aDRTAttachment.content",
        "path": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment.directiveLocation.aDRTAttachment.content",
        "short": "Content",
        "definition": "`[at0001]`\n                             Digital representation of the resource.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Attachment"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment.directiveLocation.aDRTAttachment.created",
        "path": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment.directiveLocation.aDRTAttachment.created",
        "short": "Created",
        "definition": "`[at0004]`\n                             The time, date, partial date or period when the resource was generated or authored.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment.lastUpdated",
        "path": "AdvanceInterventionInformation.AdvanceDecisionToRefuseTreatment.lastUpdated",
        "short": "Last updated",
        "definition": "`[at0055]`\n                             The date when this advance directive record was last updated.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.WhatMattersToPatient",
        "path": "AdvanceInterventionInformation.WhatMattersToPatient",
        "short": "What matters to patient",
        "definition": "`[openEHR-EHR-EVALUATION.about_me.v0]`\n                             About me)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.WhatMattersToPatient.whatIMostValue",
        "path": "AdvanceInterventionInformation.WhatMattersToPatient.whatIMostValue",
        "short": "What I most value",
        "definition": "`[at0004]`\n                             )",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.WhatMattersToPatient.whatIMostValue.category",
        "path": "AdvanceInterventionInformation.WhatMattersToPatient.whatIMostValue.category",
        "short": "Category",
        "definition": "`[at0008]`\n                             )",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.WhatMattersToPatient.whatIMostValue.narrative",
        "path": "AdvanceInterventionInformation.WhatMattersToPatient.whatIMostValue.narrative",
        "short": "Narrative",
        "definition": "`[at0002]`\n                             Narrative supplied by the patient about the topic.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.WhatMattersToPatient.whatIMostFearWishToAvoid",
        "path": "AdvanceInterventionInformation.WhatMattersToPatient.whatIMostFearWishToAvoid",
        "short": "What I most fear/ wish to avoid",
        "definition": "`[at0004]`\n                             )",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.WhatMattersToPatient.whatIMostFearWishToAvoid.category",
        "path": "AdvanceInterventionInformation.WhatMattersToPatient.whatIMostFearWishToAvoid.category",
        "short": "Category",
        "definition": "`[at0008]`\n                             )",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.WhatMattersToPatient.whatIMostFearWishToAvoid.narrative",
        "path": "AdvanceInterventionInformation.WhatMattersToPatient.whatIMostFearWishToAvoid.narrative",
        "short": "Narrative",
        "definition": "`[at0002]`\n                             Narrative supplied by the patient about the topic.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.MentalCapacityAssessment",
        "path": "AdvanceInterventionInformation.MentalCapacityAssessment",
        "short": "Mental capacity assessment",
        "definition": "`[openEHR-EHR-OBSERVATION.mental_capacity_assessment.v0]`\n                             The ability of an individual to use and understand information to make or consent to a decision, plan or intervention.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.MentalCapacityAssessment.time",
        "path": "AdvanceInterventionInformation.MentalCapacityAssessment.time",
        "short": "time",
        "definition": "`[RM]`\n                             `OBSERVATION.EVENT.time` - Time of this Observation event. If the width is non-zero, it is the time point of the trailing edge of the event.)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.MentalCapacityAssessment.decisionPlan",
        "path": "AdvanceInterventionInformation.MentalCapacityAssessment.decisionPlan",
        "short": "Decision/plan",
        "definition": "`[at0004]`\n                             Description of the specific decision or plan to which the mental capacity status and assessment details relate.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.MentalCapacityAssessment.personalCapacity",
        "path": "AdvanceInterventionInformation.MentalCapacityAssessment.personalCapacity",
        "short": "Personal capacity",
        "definition": "`[at0005]`\n                             The individual's mental capacity status.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.MentalCapacityAssessment.parentalResponsibility",
        "path": "AdvanceInterventionInformation.MentalCapacityAssessment.parentalResponsibility",
        "short": "Parental responsibility",
        "definition": "`[at0021]`\n                             )",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "valueSet": "http://freshehr.com/mods/ValueSet/ParentalResponsibility"
        }
      },
      {
        "id": "AdvanceInterventionInformation.MentalCapacityAssessment.description",
        "path": "AdvanceInterventionInformation.MentalCapacityAssessment.description",
        "short": "Description",
        "definition": "`[at0009]`\n                             Narrative description of the individual's mental capacity.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions",
        "short": "Advance intervention decisions",
        "definition": "`[openEHR-EHR-EVALUATION.advance_intervention_decisions.v1]`\n                             Anticipatory decisions about the overall intent of care and possible interventions (including treatments, activities, and diagnostic or therapeutic procedures), asserted by a clinician.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.clinicalFocus",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.clinicalFocus",
        "short": "Clinical focus",
        "definition": "`[at0002]`\n                             The overall intent for future care and treatment for the individual.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.decisionsDescription",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.decisionsDescription",
        "short": "Decisions description",
        "definition": "`[at0008]`\n                             Narrative description about all advance intervention decisions, including the CPR decision.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRDecision",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRDecision",
        "short": "CPR decision",
        "definition": "`[at0009]`\n                             Decision about the extent of cardiopulmonary resuscitation (CPR) intervention appropriate for this individual.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://freshehr.com/mods/ValueSet/CPRDecision"
        }
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRIsUnlikelyToSucceed",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRIsUnlikelyToSucceed",
        "short": "CPR  is unlikely to succeed",
        "definition": "`[openEHR-EHR-CLUSTER.reason_for_dnacpr_decision.v0]`\n                             Reason for DNACPR decision)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRIsUnlikelyToSucceed.reasonForCPRDecision",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRIsUnlikelyToSucceed.reasonForCPRDecision",
        "short": "Reason for CPR Decision",
        "definition": "`[at0004]`\n                             )",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://freshehr.com/mods/ValueSet/ReasonForCPRDecision"
        }
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRIsUnlikelyToSucceed.comment",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRIsUnlikelyToSucceed.comment",
        "short": "Comment",
        "definition": "`[at0008]`\n                             )",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRNotInBestInterests",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRNotInBestInterests",
        "short": "CPR not in best interests",
        "definition": "`[openEHR-EHR-CLUSTER.reason_for_dnacpr_decision.v0]`\n                             Reason for DNACPR decision)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRNotInBestInterests.reasonForCPRDecision",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRNotInBestInterests.reasonForCPRDecision",
        "short": "Reason for CPR Decision",
        "definition": "`[at0004]`\n                             )",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://freshehr.com/mods/ValueSet/ReasonForCPRDecision2"
        }
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRNotInBestInterests.comment",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRNotInBestInterests.comment",
        "short": "Comment",
        "definition": "`[at0008]`\n                             )",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.patientDoesNotWishToBeResuscitated",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.patientDoesNotWishToBeResuscitated",
        "short": "Patient does not wish to be resuscitated",
        "definition": "`[openEHR-EHR-CLUSTER.reason_for_dnacpr_decision.v0]`\n                             Reason for DNACPR decision)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.patientDoesNotWishToBeResuscitated.reasonForCPRDecision",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.patientDoesNotWishToBeResuscitated.reasonForCPRDecision",
        "short": "Reason for CPR Decision",
        "definition": "`[at0004]`\n                             )",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://freshehr.com/mods/ValueSet/ReasonForCPRDecision3"
        }
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.patientDoesNotWishToBeResuscitated.comment",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.patientDoesNotWishToBeResuscitated.comment",
        "short": "Comment",
        "definition": "`[at0008]`\n                             )",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRDecisionLockStatus",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRDecisionLockStatus",
        "short": "CPR decision lock status",
        "definition": "`[openEHR-EHR-CLUSTER.cpr_decision_lock_status_rosi.v0]`\n                             cpr decision lock status rosi)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRDecisionLockStatus.lockStatus",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRDecisionLockStatus.lockStatus",
        "short": "Lock status",
        "definition": "`[at0001]`\n                             To record the locked status of a ROSI CPR decision.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://freshehr.com/mods/ValueSet/LockStatus"
        }
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRDecisionLockStatus.dNACPRRecordSource",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRDecisionLockStatus.dNACPRRecordSource",
        "short": "DNACPR record source",
        "definition": "`[at0004]`\n                             )",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://freshehr.com/mods/ValueSet/DNACPRRecordSource"
        }
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.patientAwareness",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.patientAwareness",
        "short": "Patient awareness",
        "definition": "`[at0042]`\n                             Narrative description about awareness of the Advance intervention decisions by the individual.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://freshehr.com/mods/ValueSet/PatientAwareness"
        }
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.familyAwareness",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.familyAwareness",
        "short": "Family awareness",
        "definition": "`[at0043]`\n                             Narrative description about awareness of the Advance intervention decisions by family, carers or legal proxy.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://freshehr.com/mods/ValueSet/FamilyAwareness"
        }
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.additionalInformation",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.additionalInformation",
        "short": "Additional information",
        "definition": "`[at0044]`\n                             Additional narrative about all advance intervention decisions, not captured in other fields.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.lastUpdated",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.lastUpdated",
        "short": "Last updated",
        "definition": "`[at0046]`\n                             The date and/or time when the Advance intervention decisions were last updated.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRReviewDue",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.cPRReviewDue",
        "short": "CPR Review due",
        "definition": "`[at0049]`\n                             The date when review of the Advance intervention decisions are due.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.mandate",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.mandate",
        "short": "Mandate",
        "definition": "`[at0050]`\n                             Description of any legislation or other authoritative guidance that apply.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "valueSet": "http://freshehr.com/mods/ValueSet/Mandate"
        }
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.digitalRepresentation",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.digitalRepresentation",
        "short": "Digital representation",
        "definition": "`[openEHR-EHR-CLUSTER.multimedia_source.v0]`\n                             A multimedia resource that is generated or acquired during the provision of healthcare.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.digitalRepresentation.content",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.digitalRepresentation.content",
        "short": "Content",
        "definition": "`[at0001]`\n                             Digital representation of the resource.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Attachment"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.digitalRepresentation.created",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.digitalRepresentation.created",
        "short": "Created",
        "definition": "`[at0004]`\n                             The time, date, partial date or period when the resource was generated or authored.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.documentLocation",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.documentLocation",
        "short": "Document location",
        "definition": "`[at0052]`\n                             Information about the physical or digital location of the advance intervention decisions record.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionDecisions.documentLocation.location",
        "path": "AdvanceInterventionInformation.AdvanceInterventionDecisions.documentLocation.location",
        "short": "Location",
        "definition": "`[at0053]`\n                             Physical or digital location of the Advance intervention decisions record.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionSignature",
        "path": "AdvanceInterventionInformation.AdvanceInterventionSignature",
        "short": "Advance intervention signature",
        "definition": "`[openEHR-EHR-ACTION.service.v0]`\n                             A general clinical activity carried out for the patient to receive a specified service, advice or care from an expert healthcare provider.)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionSignature.careflowStep",
        "path": "AdvanceInterventionInformation.AdvanceInterventionSignature.careflowStep",
        "short": "careflow_step",
        "definition": "`[RM]`\n                             `ISM_TRANSITION.care_flow_step` - The step in the careflow process which occurred as part of generating this action, e.g. dispense , start_administration. This attribute represents the clinical label for the activity, as opposed to current_state which represents the state machine (ISM) computable form. Defined in archetype.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://freshehr.com/mods/ValueSet/CareflowStep"
        }
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionSignature.time",
        "path": "AdvanceInterventionInformation.AdvanceInterventionSignature.time",
        "short": "time",
        "definition": "`[RM]`\n                             `ACTION.time` - Point in time at which this action took place.)",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionSignature.serviceName",
        "path": "AdvanceInterventionInformation.AdvanceInterventionSignature.serviceName",
        "short": "Service name",
        "definition": "`[at0011]`\n                             Identification of the clinical service to be/being carried out.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionSignature.reason",
        "path": "AdvanceInterventionInformation.AdvanceInterventionSignature.reason",
        "short": "Reason",
        "definition": "`[at0012]`\n                             Reason that the activity or care pathway step for the identified service was carried out.)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "http://freshehr.com/mods/ValueSet/Reason"
        }
      },
      {
        "id": "AdvanceInterventionInformation.AdvanceInterventionSignature.signatory",
        "path": "AdvanceInterventionInformation.AdvanceInterventionSignature.signatory",
        "short": "Signatory",
        "definition": "`[openEHR-EHR-CLUSTER.contact_cc.v0]`\n                             Contacts for patLogical: IntraocularPressureTestResult\nTitle: \"Intraocular pressure\"\nParent: Element\nDescription: ",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      }
    ]
  }
}