PackagesCanonicalsLogsProblems
    Packages
    synapxe.nde@1.0.0
    https://fhir.synapxe.sg/StructureDefinition/profile-location
{
  "description": null,
  "_filename": "Location.StructureDefinition.json",
  "package_name": "synapxe.nde",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "5.0.0",
  "name": "Location",
  "abstract": false,
  "type": "Location",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.0.0",
  "status": "draft",
  "id": "79812dee-59fb-4d80-b81a-7a4d6f2bb757",
  "kind": "resource",
  "url": "https://fhir.synapxe.sg/StructureDefinition/profile-location",
  "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()"
      }, {
        "key": "org-1",
        "human": "The organization SHALL at least have a name or an identifier, and possibly more than one",
        "source": "http://hl7.org/fhir/StructureDefinition/Organization",
        "severity": "error",
        "expression": "(identifier.count() + name.count()) > 0"
      } ],
      "path": "Location.contained",
      "min": 1,
      "definition": "A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action.  Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, payer/insurer, etc.",
      "short": "A grouping of people or organizations with a common purpose",
      "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": "administrative.group",
        "identity": "w5"
      }, {
        "map": "(also see master files messages)",
        "identity": "v2"
      }, {
        "map": "Organization(classCode=ORG, determinerCode=INST)",
        "identity": "rim"
      }, {
        "map": "ParticipantContactable",
        "identity": "interface"
      }, {
        "map": "Organization",
        "identity": "servd"
      } ],
      "type": [ {
        "code": "Resource",
        "profile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-organization" ]
      } ],
      "max": "1",
      "id": "Location.contained"
    }, {
      "id": "Location.extension",
      "max": "0",
      "path": "Location.extension"
    }, {
      "id": "Location.modifierExtension",
      "max": "0",
      "path": "Location.modifierExtension"
    }, {
      "id": "Location.identifier",
      "max": "1",
      "min": 1,
      "path": "Location.identifier"
    }, {
      "id": "Location.identifier.id",
      "max": "0",
      "path": "Location.identifier.id"
    }, {
      "id": "Location.identifier.extension",
      "max": "0",
      "path": "Location.identifier.extension"
    }, {
      "id": "Location.identifier.use",
      "max": "0",
      "path": "Location.identifier.use"
    }, {
      "id": "Location.identifier.type",
      "max": "0",
      "path": "Location.identifier.type"
    }, {
      "id": "Location.identifier.system",
      "min": 1,
      "path": "Location.identifier.system"
    }, {
      "id": "Location.identifier.value",
      "min": 1,
      "path": "Location.identifier.value"
    }, {
      "id": "Location.identifier.period",
      "max": "0",
      "path": "Location.identifier.period"
    }, {
      "id": "Location.identifier.assigner",
      "max": "0",
      "path": "Location.identifier.assigner"
    }, {
      "id": "Location.status",
      "max": "0",
      "path": "Location.status"
    }, {
      "id": "Location.operationalStatus",
      "max": "0",
      "path": "Location.operationalStatus"
    }, {
      "id": "Location.name",
      "min": 1,
      "path": "Location.name"
    }, {
      "id": "Location.alias",
      "max": "0",
      "path": "Location.alias"
    }, {
      "id": "Location.description",
      "max": "0",
      "path": "Location.description"
    }, {
      "id": "Location.mode",
      "max": "0",
      "path": "Location.mode"
    }, {
      "id": "Location.type",
      "max": "1",
      "min": 1,
      "path": "Location.type",
      "binding": {
        "strength": "required",
        "valueSet": "https://fhir.synapxe.sg/ValueSet/location-type"
      }
    }, {
      "id": "Location.type.id",
      "max": "0",
      "path": "Location.type.id"
    }, {
      "id": "Location.type.extension",
      "max": "0",
      "path": "Location.type.extension"
    }, {
      "id": "Location.type.coding",
      "min": 1,
      "path": "Location.type.coding"
    }, {
      "id": "Location.type.coding.id",
      "max": "0",
      "path": "Location.type.coding.id"
    }, {
      "id": "Location.type.coding.extension",
      "max": "0",
      "path": "Location.type.coding.extension"
    }, {
      "id": "Location.type.coding.system",
      "min": 1,
      "path": "Location.type.coding.system",
      "patternUri": "https://fhir.synapxe.sg/CodeSystem/location-type"
    }, {
      "id": "Location.type.coding.version",
      "max": "0",
      "path": "Location.type.coding.version"
    }, {
      "id": "Location.type.coding.code",
      "min": 1,
      "path": "Location.type.coding.code"
    }, {
      "id": "Location.type.coding.display",
      "min": 1,
      "path": "Location.type.coding.display"
    }, {
      "id": "Location.type.coding.userSelected",
      "max": "0",
      "path": "Location.type.coding.userSelected"
    }, {
      "id": "Location.type.text",
      "max": "0",
      "path": "Location.type.text"
    }, {
      "id": "Location.contact",
      "max": "0",
      "path": "Location.contact"
    }, {
      "id": "Location.contact.organization",
      "path": "Location.contact.organization",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-organization" ]
      } ]
    }, {
      "id": "Location.address",
      "max": "0",
      "path": "Location.address"
    }, {
      "id": "Location.form",
      "max": "0",
      "path": "Location.form"
    }, {
      "id": "Location.position",
      "max": "0",
      "path": "Location.position"
    }, {
      "id": "Location.managingOrganization",
      "min": 1,
      "path": "Location.managingOrganization",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "contained" ],
        "targetProfile": [ "https://fhir.synapxe.sg/StructureDefinition/profile-organization" ]
      } ]
    }, {
      "id": "Location.partOf",
      "max": "0",
      "path": "Location.partOf"
    }, {
      "id": "Location.characteristic",
      "max": "0",
      "path": "Location.characteristic"
    }, {
      "id": "Location.hoursOfOperation",
      "max": "0",
      "path": "Location.hoursOfOperation"
    }, {
      "id": "Location.virtualService",
      "max": "0",
      "path": "Location.virtualService"
    }, {
      "id": "Location.endpoint",
      "max": "0",
      "path": "Location.endpoint"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location"
}