PackagesCanonicalsLogsProblems
    Packages
    hsg.asg-well@1.0.11
    http://ihis.sg/StructureDefinition/Organization-put-asg-aac
{
  "description": null,
  "_filename": "profile-Organization-put-asg-aac.StructureDefinition.json",
  "package_name": "hsg.asg-well",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "4.3.0",
  "name": "profile-Organization-put-asg-aac",
  "abstract": false,
  "type": "Organization",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "1.0.11",
  "status": "active",
  "id": "fa690500-7ef3-4f08-93a5-2115bcf8ccfa",
  "kind": "resource",
  "url": "http://ihis.sg/StructureDefinition/Organization-put-asg-aac",
  "version": "1",
  "differential": {
    "element": [ {
      "id": "Organization",
      "path": "Organization",
      "short": "n/a",
      "constraint": [ {
        "key": "active-organization-period-relationship",
        "human": "Active should be false if LOA End Date exists",
        "severity": "error",
        "expression": "extension('http://ihis.sg/extension/organization-period').value.end.hasValue().not() or active=false"
      } ],
      "definition": "Active Ageing Center"
    }, {
      "id": "Organization.id",
      "max": "0",
      "path": "Organization.id"
    }, {
      "id": "Organization.implicitRules",
      "max": "0",
      "path": "Organization.implicitRules"
    }, {
      "id": "Organization.language",
      "max": "0",
      "path": "Organization.language"
    }, {
      "id": "Organization.text",
      "max": "0",
      "path": "Organization.text"
    }, {
      "id": "Organization.contained",
      "max": "0",
      "path": "Organization.contained"
    }, {
      "id": "Organization.extension",
      "max": "1",
      "min": 1,
      "path": "Organization.extension",
      "short": "n/a",
      "comment": "n/a",
      "slicing": {
        "rules": "closed",
        "description": "organization-period",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "definition": "n/a"
    }, {
      "id": "Organization.extension:organization-period",
      "max": "1",
      "min": 1,
      "path": "Organization.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://ihis.sg/extension/organization-period" ]
      } ],
      "comment": "n/a",
      "sliceName": "organization-period"
    }, {
      "id": "Organization.extension:organization-period.value[x]:valuePeriod",
      "path": "Organization.extension.value[x]",
      "sliceName": "valuePeriod"
    }, {
      "id": "Organization.extension:organization-period.value[x]:valuePeriod.extension",
      "max": "0",
      "path": "Organization.extension.value[x].extension"
    }, {
      "id": "Organization.modifierExtension",
      "max": "0",
      "path": "Organization.modifierExtension"
    }, {
      "id": "Organization.identifier",
      "max": "2",
      "min": 2,
      "path": "Organization.identifier",
      "short": "n/a",
      "slicing": {
        "rules": "closed",
        "description": "AAC Center Id, UEN",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      },
      "definition": "Identifier(s) for this AAC",
      "requirements": "n/a"
    }, {
      "id": "Organization.identifier.extension",
      "max": "0",
      "path": "Organization.identifier.extension"
    }, {
      "id": "Organization.identifier:aac-center-id",
      "max": "1",
      "min": 1,
      "path": "Organization.identifier",
      "short": "n/a",
      "sliceName": "aac-center-id",
      "definition": "AAC Center Id",
      "requirements": "n/a"
    }, {
      "id": "Organization.identifier:aac-center-id.id",
      "max": "0",
      "path": "Organization.identifier.id"
    }, {
      "id": "Organization.identifier:aac-center-id.extension",
      "max": "0",
      "path": "Organization.identifier.extension"
    }, {
      "id": "Organization.identifier:aac-center-id.use",
      "max": "0",
      "path": "Organization.identifier.use"
    }, {
      "id": "Organization.identifier:aac-center-id.type",
      "max": "0",
      "path": "Organization.identifier.type"
    }, {
      "id": "Organization.identifier:aac-center-id.system",
      "min": 1,
      "path": "Organization.identifier.system",
      "short": "n/a",
      "comment": "Fixed value: \"http://ihis.sg/identifier/aac-center-id\"",
      "fixedUri": "http://ihis.sg/identifier/aac-center-id",
      "requirements": "n/a"
    }, {
      "id": "Organization.identifier:aac-center-id.value",
      "min": 1,
      "path": "Organization.identifier.value",
      "short": "n/a",
      "comment": "Sample Value: \"AACH22222\"",
      "constraint": [ {
        "key": "organization-aac-center-id-constraint",
        "human": "AAC center id should not have leading or trailing whitespace",
        "severity": "error",
        "expression": "$this.matches('^(?!\\\\s)(.*?)(?,
      "definition": "AAC Center Id"
    }, {
      "id": "Organization.identifier:aac-center-id.period",
      "max": "0",
      "path": "Organization.identifier.period"
    }, {
      "id": "Organization.identifier:aac-center-id.assigner",
      "max": "0",
      "path": "Organization.identifier.assigner"
    }, {
      "id": "Organization.identifier:uen",
      "max": "1",
      "min": 1,
      "path": "Organization.identifier",
      "short": "n/a",
      "sliceName": "uen",
      "definition": "UEN of AAC",
      "requirements": "n/a"
    }, {
      "id": "Organization.identifier:uen.id",
      "max": "0",
      "path": "Organization.identifier.id"
    }, {
      "id": "Organization.identifier:uen.extension",
      "max": "0",
      "path": "Organization.identifier.extension"
    }, {
      "id": "Organization.identifier:uen.use",
      "max": "0",
      "path": "Organization.identifier.use"
    }, {
      "id": "Organization.identifier:uen.type",
      "max": "0",
      "path": "Organization.identifier.type"
    }, {
      "id": "Organization.identifier:uen.system",
      "min": 1,
      "path": "Organization.identifier.system",
      "short": "n/a",
      "comment": "Fixed Value: \"http://ihis.sg/identifier/uen\"",
      "fixedUri": "http://ihis.sg/identifier/uen",
      "requirements": "n/a"
    }, {
      "id": "Organization.identifier:uen.value",
      "min": 1,
      "path": "Organization.identifier.value",
      "short": "n/a",
      "comment": "Sample Value: \"202338576M\"",
      "definition": "UEN of AAC"
    }, {
      "id": "Organization.identifier:uen.period",
      "max": "0",
      "path": "Organization.identifier.period"
    }, {
      "id": "Organization.identifier:uen.assigner",
      "max": "0",
      "path": "Organization.identifier.assigner"
    }, {
      "path": "Organization.active",
      "requirements": "n/a",
      "min": 1,
      "definition": "Whether AAC is active",
      "short": "n/a",
      "meaningWhenMissing": "n/a",
      "id": "Organization.active",
      "comment": "Possible Value: \"true\" | \"false\"",
      "isModifierReason": "n/a"
    }, {
      "path": "Organization.type",
      "requirements": "n/a",
      "min": 1,
      "definition": "The type of service provided by AAC",
      "short": "n/a",
      "binding": {
        "strength": "required",
        "valueSet": "http://ihis.sg/ValueSet/organization-type"
      },
      "max": "1",
      "id": "Organization.type",
      "comment": "n/a"
    }, {
      "id": "Organization.type.id",
      "max": "0",
      "path": "Organization.type.id"
    }, {
      "id": "Organization.type.extension",
      "max": "0",
      "path": "Organization.type.extension"
    }, {
      "id": "Organization.type.coding",
      "max": "1",
      "min": 1,
      "path": "Organization.type.coding",
      "short": "n/a",
      "comment": "n/a",
      "definition": "Must be one of the values defined by 'organization-type' binding.",
      "requirements": "n/a"
    }, {
      "id": "Organization.type.coding.id",
      "max": "0",
      "path": "Organization.type.coding.id"
    }, {
      "id": "Organization.type.coding.extension",
      "max": "0",
      "path": "Organization.type.coding.extension"
    }, {
      "id": "Organization.type.coding.system",
      "min": 1,
      "path": "Organization.type.coding.system",
      "short": "n/a",
      "comment": "Fixed Value: \"http://ihis.sg/CodeSystem/organization-type\"",
      "fixedUri": "http://ihis.sg/CodeSystem/organization-type",
      "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.",
      "requirements": "n/a"
    }, {
      "id": "Organization.type.coding.version",
      "max": "0",
      "path": "Organization.type.coding.version"
    }, {
      "id": "Organization.type.coding.code",
      "min": 1,
      "path": "Organization.type.coding.code",
      "short": "n/a",
      "comment": "Possible Value: \"aac\" | \"aac-care\"",
      "constraint": [ {
        "key": "organization-type-coding-code-constraint",
        "human": "Organization type code can only be aac or aac-care",
        "severity": "error",
        "expression": "$this.matches('^(aac|aac-care)$')"
      } ],
      "definition": "Terminology code",
      "requirements": "n/a"
    }, {
      "id": "Organization.type.coding.display",
      "path": "Organization.type.coding.display",
      "short": "n/a",
      "comment": "Possible Value: \"AAC\" | \"AAC (Care)\"",
      "requirements": "n/a"
    }, {
      "id": "Organization.type.coding.userSelected",
      "max": "0",
      "path": "Organization.type.coding.userSelected"
    }, {
      "id": "Organization.type.text",
      "max": "0",
      "path": "Organization.type.text"
    }, {
      "id": "Organization.name",
      "min": 1,
      "path": "Organization.name",
      "short": "n/a",
      "comment": "Sample Value: \"Active Ageing Centre (Care) @ Teck Whye Vista\"",
      "definition": "Name of AAC",
      "requirements": "n/a"
    }, {
      "id": "Organization.alias",
      "max": "0",
      "path": "Organization.alias"
    }, {
      "id": "Organization.telecom",
      "max": "0",
      "path": "Organization.telecom"
    }, {
      "id": "Organization.address",
      "max": "0",
      "path": "Organization.address"
    }, {
      "id": "Organization.partOf",
      "max": "0",
      "path": "Organization.partOf"
    }, {
      "id": "Organization.contact",
      "max": "0",
      "path": "Organization.contact"
    }, {
      "id": "Organization.endpoint",
      "max": "0",
      "path": "Organization.endpoint"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization"
}