{ "description": null, "_filename": "profile-Organization-notify-aac.StructureDefinition.json", "package_name": "hsg.asg-well", "date": null, "derivation": "constraint", "publisher": null, "fhirVersion": "4.3.0", "name": "profile-Organization-notify-aac", "abstract": false, "type": "Parameters", "experimental": null, "resourceType": "StructureDefinition", "title": null, "package_version": "1.0.11", "status": "active", "id": "31f64b51-6893-4652-81a4-3a3dd1668cce", "kind": "resource", "url": "https://ihis.sg/StructureDefinition/Parameters-notify-asg-aac", "version": null, "differential": { "element": [ { "id": "Parameters.id", "max": "0", "path": "Parameters.id" }, { "id": "Parameters.meta", "max": "0", "path": "Parameters.meta" }, { "id": "Parameters.implicitRules", "max": "0", "path": "Parameters.implicitRules" }, { "id": "Parameters.language", "max": "0", "path": "Parameters.language" }, { "id": "Parameters.parameter", "max": "3", "min": 3, "path": "Parameters.parameter", "short": "n/a", "slicing": { "rules": "closed", "discriminator": [ { "path": "name", "type": "value" } ] } }, { "id": "Parameters.parameter.resource", "max": "0", "path": "Parameters.parameter.resource", "short": "n/a", "mapping": [ { "map": "(also see master files messages)", "identity": "v2" }, { "map": "Organization(classCode=ORG, determinerCode=INST)", "identity": "rim" }, { "map": "Organization", "identity": "servd" }, { "map": "administrative.group", "identity": "w5" } ], "constraint": [ { "key": "dom-2", "human": "If the resource is contained in another resource, it SHALL NOT contain nested Resources", "xpath": "not(parent::f:contained and f:contained)", "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", "xpath": "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f: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", "xpath": "not(exists(for $contained in f:contained return $contained[not(exists(parent::*/descendant::f:reference/@value=concat('#', $contained/*/f:id/@value)) or exists(descendant::f:reference[@value='#']))]))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource", "severity": "error", "expression": "contained.where(((id.exists() and ('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url)))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(uri) = '#').exists()).not()).trace('unmatched', id).empty()" }, { "key": "dom-6", "human": "A resource should have narrative for robust management", "xpath": "exists(f:text/h:div)", "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", "xpath": "not(exists(f:contained/*/f:meta/f:security))", "source": "http://hl7.org/fhir/StructureDefinition/DomainResource", "severity": "error", "expression": "contained.meta.security.empty()" }, { "key": "org-1", "human": "The organization SHALL at least have a name or an identifier, and possibly more than one", "xpath": "count(f:identifier | f:name) > 0", "source": "http://hl7.org/fhir/StructureDefinition/Organization", "severity": "error", "expression": "(identifier.count() + name.count()) > 0" } ], "definition": "Active Ageing Center" }, { "id": "Parameters.parameter:message-id", "max": "1", "min": 1, "path": "Parameters.parameter", "short": "n/a", "sliceName": "message-id", "definition": "A parameter passed to the operation." }, { "id": "Parameters.parameter:message-id.id", "max": "0", "path": "Parameters.parameter.id" }, { "id": "Parameters.parameter:message-id.name", "path": "Parameters.parameter.name", "short": "n/a", "comment": "Fixed Value: \"message-id\"", "definition": "n/a", "fixedString": "message-id" }, { "id": "Parameters.parameter:message-id.value[x]", "min": 1, "path": "Parameters.parameter.value[x]", "type": [ { "code": "string" } ], "short": "n/a", "comment": "Sample Value: \"f87ef0480edf4e7da98c91be4c05ad90\"", "definition": "value of message id" }, { "id": "Parameters.parameter:message-id.resource", "max": "0", "path": "Parameters.parameter.resource" }, { "id": "Parameters.parameter:message-id.part", "max": "0", "path": "Parameters.parameter.part" }, { "id": "Parameters.parameter:last-updated-time", "max": "1", "min": 1, "path": "Parameters.parameter", "short": "n/a", "sliceName": "last-updated-time", "definition": "A parameter passed to the operation." }, { "id": "Parameters.parameter:last-updated-time.id", "max": "0", "path": "Parameters.parameter.id" }, { "id": "Parameters.parameter:last-updated-time.name", "path": "Parameters.parameter.name", "short": "n/a", "comment": "Fixed Value: \"last-updated-time\"", "definition": "n/a", "fixedString": "last-updated-time" }, { "id": "Parameters.parameter:last-updated-time.value[x]", "min": 1, "path": "Parameters.parameter.value[x]", "type": [ { "code": "dateTime" } ], "short": "n/a", "comment": "Sample Value: \"2022-12-20T08:42:24.047+08:00\"", "definition": "last updated time of the resource" }, { "id": "Parameters.parameter:last-updated-time.resource", "max": "0", "path": "Parameters.parameter.resource" }, { "id": "Parameters.parameter:last-updated-time.part", "max": "0", "path": "Parameters.parameter.part" }, { "id": "Parameters.parameter:aac", "max": "1", "min": 1, "path": "Parameters.parameter", "short": "n/a", "sliceName": "aac", "definition": "A parameter passed to the operation." }, { "id": "Parameters.parameter:aac.id", "max": "0", "path": "Parameters.parameter.id" }, { "id": "Parameters.parameter:aac.name", "path": "Parameters.parameter.name", "short": "n/a", "comment": "n/a", "definition": "n/a", "fixedString": "aac" }, { "id": "Parameters.parameter:aac.value[x]", "max": "0", "path": "Parameters.parameter.value[x]" }, { "id": "Parameters.parameter:aac.resource", "min": 1, "path": "Parameters.parameter.resource", "type": [ { "code": "Resource", "profile": [ "http://ihis.sg/StructureDefinition/Organization-get-asg-aac-output" ] } ], "comment": "n/a", "definition": "Postal Code payload" }, { "id": "Parameters.parameter:aac.part", "max": "0", "path": "Parameters.parameter.part" } ] }, "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Parameters" }