FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagesynapxe.hsar
Resource TypeStructureDefinition
Idprofile-Consent-get-consent.json
FHIR VersionR4B
Sourcehttps://simplifier.net/resolve?scope=synapxe.hsar@1.0.0&canonical=http://ihis.sg/StructureDefinition/Consent-pophealth-output
URLhttp://ihis.sg/StructureDefinition/Consent-pophealth-output
Version0.1.0
Statusactive
Date2019-11-01T09:29:23+11:00
Nameprofile-Consent-get-consent
TypeConsent
Kindresource

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
consent-authentication-modeextension-Consent-consentAuthenticationMode
consent-provided-byextension-Consent-providedBy

Narrative

No narrative content found in resource


Source1

{
  "resourceType": "StructureDefinition",
  "id": "profile-Consent-get-consent",
  "url": "http://ihis.sg/StructureDefinition/Consent-pophealth-output",
  "version": "0.1.0",
  "name": "profile-Consent-get-consent",
  "status": "active",
  "date": "2019-11-01T09:29:23+11:00",
  "publisher": "IHIS",
  "fhirVersion": "4.3.0",
  "kind": "resource",
  "abstract": false,
  "type": "Consent",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Consent",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Consent.extension",
        "path": "Consent.extension",
        "short": "n/a",
        "definition": "Additional data elements required by Healthier SG",
        "comment": "The extension is in the format of key/value pair, where the key is specified in 'url' attribute, and the values is specified in the 'value[Type]' attribute, the type can be Coding, String , Date or others depending on the definition specified in data type column W\nAll the extension url is be prefixed with \"http://ihis.sg/extension\" and followed by friendly short name",
        "requirements": "n/a",
        "min": 2,
        "max": "2"
      },
      {
        "id": "Consent.extension:provided-by",
        "path": "Consent.extension",
        "sliceName": "provided-by",
        "short": "n/a",
        "definition": "n/a",
        "comment": "n/a",
        "requirements": "n/a",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ihis.sg/extension/consent-provided-by"
            ]
          }
        ]
      },
      {
        "id": "Consent.extension:consent-authentication-mode",
        "path": "Consent.extension",
        "sliceName": "consent-authentication-mode",
        "short": "n/a",
        "definition": "n/a",
        "comment": "n/a",
        "requirements": "n/a",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://ihis.sg/extension/consent-authentication-mode"
            ]
          }
        ]
      },
      {
        "id": "Consent.identifier",
        "path": "Consent.identifier",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.status",
        "path": "Consent.status",
        "short": "n/a",
        "definition": "Consent status",
        "comment": "Fixed Value: \"active\"",
        "requirements": "n/a",
        "fixedCode": "active"
      },
      {
        "id": "Consent.scope",
        "path": "Consent.scope",
        "short": "n/a",
        "definition": "Scope of the consent, fixed to \"Onboard Healthier SG\"",
        "requirements": "n/a"
      },
      {
        "id": "Consent.scope.coding",
        "path": "Consent.scope.coding",
        "short": "n/a",
        "definition": "Grouping of coding",
        "requirements": "n/a",
        "comment": "n/a",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "http://ihis.sg/ValueSet/hsg-consent-scope"
        }
      },
      {
        "id": "Consent.scope.coding.system",
        "path": "Consent.scope.coding.system",
        "short": "n/a",
        "definition": "Identity of the terminology system",
        "comment": "Fixed Value : \"http://ihis.sg/ValueSet/hsg-consent-scope\"",
        "requirements": "n/a",
        "min": 1,
        "fixedUri": "http://ihis.sg/ValueSet/hsg-consent-scope",
        "constraint": [
          {
            "key": "string-max-length",
            "severity": "error",
            "human": "Value is too long (maximum length is 255)",
            "expression": "$this.length() <= 255"
          }
        ]
      },
      {
        "id": "Consent.scope.coding.version",
        "path": "Consent.scope.coding.version",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.scope.coding.code",
        "path": "Consent.scope.coding.code",
        "short": "n/a",
        "definition": "The code of the coding The code of the coding. It shall be one of the code defined in valueset \"http://ihis.sg/ValueSet/hsg-consent-scope\"",
        "comment": "Sample Value : \"onboard-healthier-sg\"",
        "requirements": "n/a",
        "min": 1,
        "constraint": [
          {
            "key": "string-max-length",
            "severity": "error",
            "human": "Value is too long (maximum length is 255)",
            "expression": "$this.length() <= 255"
          }
        ]
      },
      {
        "id": "Consent.scope.coding.display",
        "path": "Consent.scope.coding.display",
        "short": "n/a",
        "definition": "Representation defined by the system",
        "comment": "Sample Value : \"Onboard Healthier SG\"",
        "requirements": "n/a",
        "constraint": [
          {
            "key": "string-max-length",
            "severity": "error",
            "human": "Value is too long (maximum length is 255)",
            "expression": "$this.length() <= 255"
          }
        ]
      },
      {
        "id": "Consent.scope.coding.userSelected",
        "path": "Consent.scope.coding.userSelected",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.scope.text",
        "path": "Consent.scope.text",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.category",
        "path": "Consent.category",
        "short": "n/a",
        "definition": "Extension value set \"http://ihis.sg/ValueSet/hsg-consent-category\"",
        "requirements": "n/a"
      },
      {
        "id": "Consent.category.coding",
        "path": "Consent.category.coding",
        "short": "n/a",
        "definition": "Grouping of coding",
        "requirements": "n/a",
        "comment": "n/a",
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "http://ihis.sg/ValueSet/hsg-consent-category"
        }
      },
      {
        "id": "Consent.category.coding.system",
        "path": "Consent.category.coding.system",
        "short": "n/a",
        "definition": "Identity of the terminology system",
        "comment": "Fixed Value : \"http://ihis.sg/ValueSet/hsg-consent-category\"",
        "requirements": "n/a",
        "min": 1,
        "fixedUri": "http://ihis.sg/ValueSet/hsg-consent-category",
        "constraint": [
          {
            "key": "string-max-length",
            "severity": "error",
            "human": "Value is too long (maximum length is 255)",
            "expression": "$this.length() <= 255"
          }
        ]
      },
      {
        "id": "Consent.category.coding.version",
        "path": "Consent.category.coding.version",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.category.coding.code",
        "path": "Consent.category.coding.code",
        "short": "n/a",
        "definition": "The code of the coding The code of the coding. It shall be one of the code defined in valueset \"http://ihis.sg/ValueSet/hsg-consent-category\"",
        "comment": "Sample Value : \"healthiersg-consent\"",
        "requirements": "n/a",
        "min": 1,
        "constraint": [
          {
            "key": "string-max-length",
            "severity": "error",
            "human": "Value is too long (maximum length is 255)",
            "expression": "$this.length() <= 255"
          }
        ]
      },
      {
        "id": "Consent.category.coding.display",
        "path": "Consent.category.coding.display",
        "short": "n/a",
        "definition": "Representation defined by the system",
        "comment": "Sample Value : \"HealthierSG-Consent\"",
        "requirements": "n/a",
        "constraint": [
          {
            "key": "string-max-length",
            "severity": "error",
            "human": "Value is too long (maximum length is 255)",
            "expression": "$this.length() <= 255"
          }
        ]
      },
      {
        "id": "Consent.category.coding.userSelected",
        "path": "Consent.category.coding.userSelected",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.category.text",
        "path": "Consent.category.text",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.patient",
        "path": "Consent.patient",
        "short": "n/a",
        "definition": "Reference to patient resource who give consent",
        "requirements": "n/a",
        "min": 1
      },
      {
        "id": "Consent.patient.reference",
        "path": "Consent.patient.reference",
        "short": "n/a",
        "definition": "The resource reference",
        "comment": "Sample Value: \"https://pophealth.healthdxp.com/Patient/7D4C65801ADE4F64BEB3781139671584\"",
        "requirements": "n/a",
        "min": 1,
        "constraint": [
          {
            "key": "string-max-length",
            "severity": "error",
            "human": "Value is too long (maximum length is 255)",
            "expression": "$this.length() <= 255"
          }
        ]
      },
      {
        "id": "Consent.patient.type",
        "path": "Consent.patient.type",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.patient.identifier",
        "path": "Consent.patient.identifier",
        "short": "n/a",
        "requirements": "n/a",
        "definition": "n/a",
        "comment": "n/a",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Consent.patient.identifier.use",
        "path": "Consent.patient.identifier.use",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.patient.identifier.type",
        "path": "Consent.patient.identifier.type",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.patient.identifier.system",
        "path": "Consent.patient.identifier.system",
        "short": "n/a",
        "definition": "Description of identifier",
        "comment": "Fixed Value: \"http://ihis.sg/identifier/nric\"",
        "requirements": "n/a",
        "min": 1,
        "fixedUri": "http://ihis.sg/identifier/nric",
        "constraint": [
          {
            "key": "string-max-length",
            "severity": "error",
            "human": "Value is too long (maximum length is 255)",
            "expression": "$this.length() <= 255"
          }
        ]
      },
      {
        "id": "Consent.patient.identifier.value",
        "path": "Consent.patient.identifier.value",
        "short": "n/a",
        "definition": "The namespace for the identifier value",
        "comment": "Sample Value: \"S1234567D\"",
        "requirements": "n/a",
        "min": 1,
        "constraint": [
          {
            "key": "string-max-length",
            "severity": "error",
            "human": "Value is too long (maximum length is 255)",
            "expression": "$this.length() <= 255"
          }
        ]
      },
      {
        "id": "Consent.patient.identifier.period",
        "path": "Consent.patient.identifier.period",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.patient.identifier.assigner",
        "path": "Consent.patient.identifier.assigner",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.patient.display",
        "path": "Consent.patient.display",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.dateTime",
        "path": "Consent.dateTime",
        "short": "n/a",
        "definition": "When this Consent was created or indexed",
        "comment": "Sample Value: \"2022-09-09T09:44:32+08:00\" , \"2023-05-03T18:18:38.358+08:00\"",
        "requirements": "n/a",
        "min": 1,
        "constraint": [
          {
            "key": "consent-dateTime",
            "severity": "error",
            "human": "Consent datetime cannot be future datetime",
            "expression": "$this.convertsToDateTime() = false or $this.hasValue().not() or  (now() + 5 seconds) > $this"
          }
        ]
      },
      {
        "id": "Consent.performer",
        "path": "Consent.performer",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.organization",
        "path": "Consent.organization",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.source[x]",
        "path": "Consent.source[x]",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.policy",
        "path": "Consent.policy",
        "short": "n/a",
        "definition": "Policy that covered by this consent",
        "comment": "n/a",
        "requirements": "n/a",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Consent.policy.authority",
        "path": "Consent.policy.authority",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.policy.uri",
        "path": "Consent.policy.uri",
        "short": "n/a",
        "definition": "Reference plan definition resource",
        "comment": "Sample Value: \"http://ihis.sg/PlanDefinition/healthier-sg/healthier-sg-programme\"",
        "requirements": "n/a",
        "min": 1,
        "fixedUri": "http://ihis.sg/PlanDefinition/healthier-sg/healthier-sg-programme",
        "constraint": [
          {
            "key": "string-max-length",
            "severity": "error",
            "human": "Value is too long (maximum length is 255)",
            "expression": "$this.length() <= 255"
          }
        ]
      },
      {
        "id": "Consent.policyRule",
        "path": "Consent.policyRule",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.verification",
        "path": "Consent.verification",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.provision",
        "path": "Consent.provision",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.provision.type",
        "path": "Consent.provision.type",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.provision.period",
        "path": "Consent.provision.period",
        "short": "n/a",
        "requirements": "n/a",
        "min": 1
      },
      {
        "id": "Consent.provision.period.start",
        "path": "Consent.provision.period.start",
        "short": "n/a",
        "requirements": "n/a",
        "min": 1
      },
      {
        "id": "Consent.provision.actor",
        "path": "Consent.provision.actor",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.provision.action",
        "path": "Consent.provision.action",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.provision.securityLabel",
        "path": "Consent.provision.securityLabel",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.provision.purpose",
        "path": "Consent.provision.purpose",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.provision.class",
        "path": "Consent.provision.class",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.provision.code",
        "path": "Consent.provision.code",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.provision.dataPeriod",
        "path": "Consent.provision.dataPeriod",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.provision.data",
        "path": "Consent.provision.data",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      },
      {
        "id": "Consent.provision.provision",
        "path": "Consent.provision.provision",
        "short": "n/a",
        "requirements": "n/a",
        "max": "0"
      }
    ]
  }
}