PackagesCanonicalsLogsProblems
    Packages
    synapxe.nehr@1.0.0
    https://fhir.synapxe.sg/StructureDefinition/profile-careplan
{
  "description": null,
  "_filename": "CarePlan.StructureDefinition.json",
  "package_name": "synapxe.nehr",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "5.0.0",
  "name": "CarePlan",
  "abstract": false,
  "type": "CarePlan",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.0.0",
  "status": "draft",
  "id": "24e66af0-aaf1-4b67-86a3-fb63bc3f8a34",
  "kind": "resource",
  "url": "https://fhir.synapxe.sg/StructureDefinition/profile-careplan",
  "version": null,
  "differential": {
    "element": [ {
      "constraint": [ {
        "key": "dom-2",
        "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.contained.empty()"
      }, {
        "key": "dom-4",
        "human": "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()"
      }, {
        "key": "dom-3",
        "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()"
      }, {
        "key": "dom-6",
        "human": "A resource should have narrative for robust management",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "warning",
        "expression": "text.`div`.exists()"
      }, {
        "key": "dom-5",
        "human": "If a resource is contained in another resource, it SHALL NOT have a security label",
        "source": "http://hl7.org/fhir/StructureDefinition/DomainResource",
        "severity": "error",
        "expression": "contained.meta.security.empty()"
      } ],
      "path": "CarePlan.contained",
      "definition": "Demographics and other administrative information about an individual or animal receiving care or other health-related services.",
      "short": "Information about an individual or animal receiving health care services",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      }, {
        "map": "Entity. Role, or Act",
        "identity": "rim"
      }, {
        "map": "N/A",
        "identity": "rim"
      }, {
        "map": "Entity, Role, or Act",
        "identity": "rim"
      }, {
        "map": "clinical.careprovision",
        "identity": "w5"
      }, {
        "map": "GOL.1",
        "identity": "v2"
      }, {
        "map": ".outboundRelationship[typeCode<=OBJ].",
        "identity": "rim"
      }, {
        "map": "administrative.individual",
        "identity": "w5"
      }, {
        "map": "Patient[classCode=PAT]",
        "identity": "rim"
      }, {
        "map": "ParticipantLiving",
        "identity": "interface"
      }, {
        "map": "ClinicalDocument.recordTarget.patientRole",
        "identity": "cda"
      } ],
      "type": [ {
        "code": "Resource",
        "profile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-goal" ]
      } ],
      "alias": [ "inline resources", "anonymous resources", "contained resources", "SubjectOfCare Client Resident" ],
      "id": "CarePlan.contained",
      "comment": "Goal can be achieving a particular change or merely maintaining a current state or even slowing a decline."
    }, {
      "id": "CarePlan.identifier",
      "max": "1",
      "min": 1,
      "path": "CarePlan.identifier"
    }, {
      "id": "CarePlan.instantiatesCanonical",
      "max": "0",
      "path": "CarePlan.instantiatesCanonical"
    }, {
      "id": "CarePlan.instantiatesUri",
      "max": "0",
      "path": "CarePlan.instantiatesUri"
    }, {
      "id": "CarePlan.basedOn",
      "max": "0",
      "path": "CarePlan.basedOn"
    }, {
      "id": "CarePlan.replaces",
      "max": "0",
      "path": "CarePlan.replaces"
    }, {
      "id": "CarePlan.partOf",
      "max": "0",
      "path": "CarePlan.partOf"
    }, {
      "id": "CarePlan.title",
      "max": "0",
      "path": "CarePlan.title"
    }, {
      "id": "CarePlan.description",
      "max": "0",
      "path": "CarePlan.description"
    }, {
      "id": "CarePlan.subject",
      "path": "CarePlan.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-patient" ]
      } ]
    }, {
      "id": "CarePlan.encounter",
      "min": 1,
      "path": "CarePlan.encounter",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-encounter" ]
      } ]
    }, {
      "id": "CarePlan.created",
      "max": "0",
      "path": "CarePlan.created"
    }, {
      "id": "CarePlan.custodian",
      "max": "0",
      "path": "CarePlan.custodian"
    }, {
      "id": "CarePlan.contributor",
      "max": "1",
      "path": "CarePlan.contributor",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-practitioner" ]
      } ]
    }, {
      "id": "CarePlan.careTeam",
      "max": "0",
      "path": "CarePlan.careTeam"
    }, {
      "id": "CarePlan.addresses",
      "path": "CarePlan.addresses",
      "type": [ {
        "code": "CodeableReference",
        "targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-condition" ]
      } ]
    }, {
      "id": "CarePlan.supportingInfo",
      "max": "0",
      "path": "CarePlan.supportingInfo"
    }, {
      "id": "CarePlan.goal",
      "path": "CarePlan.goal",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "contained" ],
        "targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-goal" ]
      } ]
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CarePlan"
}