Clinical Document Architecture with Australian Schema, published by Australian Digital Health Agency. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/AuDigitalHealth/cda-au-schema/ and changes regularly. See the Directory of published versions

Logical Model: au-Entity - TTL Profile

Active as of 2024-11-24

TTL representation of the au-Entity logical model.

Raw ttl | Download

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:StructureDefinition ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "au-Entity"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n      <p>A physical thing, group of physical things or an organization capable of participating in\n        Acts while in a role.</p>\n      <p>An entity is a physical object that has, had or will have existence. The only exception to\n        this is Organization, which while not having a physical presence, fulfills the other\n        characteristics of an Entity. Entity stipulates the thing itself, not the Roles it may play:\n        the Role of Patient, e.g., is played by the Person Entity.</p>\n      <p>Living subjects (including human beings), organizations, materials, places and their\n        specializations.</p>\n    </div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-target"^^xsd:anyURI ] ;
fhir:value [
a fhir:boolean ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/data-absent-reason"^^xsd:anyURI ] ;
fhir:value [ fhir:v "not-applicable" ]       ] )     ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:hl7-org:v3"^^xsd:anyURI ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "entity" ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/logical-container"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument"^^xsd:anyURI ]
  ] [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/type-profile-style"^^xsd:anyURI ] ;
fhir:value [ fhir:v "cda"^^xsd:anyURI ]
  ] ) ; # 
  fhir:url [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Entity"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "1.0.0"] ; # 
  fhir:name [ fhir:v "au-Entity"] ; # 
  fhir:title [ fhir:v "ADHA Entity (CDA Class)"] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:experimental [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:date [ fhir:v "2024-11-24T21:51:27+00:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Australian Digital Health Agency"] ; # 
  fhir:contact ( [
fhir:name [ fhir:v "Australian Digital Health Agency" ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "email" ] ;
fhir:value [ fhir:v "mailto:help@digitalhealth.gov.au" ]     ] )
  ] ) ; # 
  fhir:description [ fhir:v "**Australian adaptation of the [HL7 International CDA Entity class](     https://hl7.org/cda/stds/core/2.0.0-sd/StructureDefinition-Entity.html)**.     \n\nThis is a generated StructureDefinition that describes CDA - that is, CDA as it actually is for R2. The intent of this StructureDefinition is to enable CDA to be a FHIR resource. That enables the FHIR infrastructure - API, conformance, query - to be used directly against CDA"] ; # 
  fhir:jurisdiction ( [
    ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "AU" ]     ] )
  ] ) ; # 
  fhir:copyright [ fhir:v "Copyright © 2024 Australian Digital Health Agency - All rights reserved. This content is licensed under a Creative Commons Attribution 4.0 International License. See [https://creativecommons.org/licenses/by/4.0/](https://creativecommons.org/licenses/by/4.0/)."] ; # 
  fhir:fhirVersion [ fhir:v "5.0.0"] ; # 
  fhir:mapping ( [
fhir:identity [ fhir:v "rim" ] ;
fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
fhir:name [ fhir:v "RIM Mapping" ]
  ] ) ; # 
  fhir:kind [ fhir:v "logical"] ; # 
  fhir:abstract [ fhir:v "false"^^xsd:boolean] ; # 
  fhir:type [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/Entity"^^xsd:anyURI] ; # 
  fhir:baseDefinition [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot>
  ] ; # 
  fhir:derivation [ fhir:v "specialization"] ; # 
  fhir:snapshot [
    ( fhir:element [
fhir:id [ fhir:v "Entity" ] ;
fhir:path [ fhir:v "Entity" ] ;
fhir:short [ fhir:v "Australian adaptation of the HL7 International CDA Entity class" ] ;
fhir:definition [ fhir:v "Defines the basic properties of every data value. This is an abstract type, meaning that no value can be just a data value without belonging to any concrete type. Every concrete type is a specialization of this general abstract DataValue type." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Base" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
fhir:isModifier [ fhir:v "false"^^xsd:boolean ] ;
      ( fhir:mapping [
fhir:identity [ fhir:v "rim" ] ;
fhir:map [ fhir:v "n/a" ]       ] )     ] [
fhir:id [ fhir:v "Entity.nullFlavor" ] ;
fhir:path [ fhir:v "Entity.nullFlavor" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Exceptional Value Detail" ] ;
fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "ANY.nullFlavor" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor>         ]       ]     ] [
fhir:id [ fhir:v "Entity.realmCode" ] ;
fhir:path [ fhir:v "Entity.realmCode" ] ;
fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "InfrastructureRoot.realmCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CS"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Entity.typeId" ] ;
fhir:path [ fhir:v "Entity.typeId" ] ;
fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "InfrastructureRoot.typeId" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Entity.typeId.nullFlavor" ] ;
fhir:path [ fhir:v "Entity.typeId.nullFlavor" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Exceptional Value Detail" ] ;
fhir:definition [ fhir:v "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "ANY.nullFlavor" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor>         ]       ]     ] [
fhir:id [ fhir:v "Entity.typeId.assigningAuthorityName" ] ;
fhir:path [ fhir:v "Entity.typeId.assigningAuthorityName" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Assigning Authority Name" ] ;
fhir:definition [ fhir:v "A human readable name or mnemonic for the assigning authority. The Assigning Authority Name has no computational value. The purpose of a Assigning Authority Name is to assist an unaided human interpreter of an II value to interpret the authority. Note: no automated processing must depend on the assigning authority name to be present in any form." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "II.assigningAuthorityName" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
fhir:id [ fhir:v "Entity.typeId.displayable" ] ;
fhir:path [ fhir:v "Entity.typeId.displayable" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Displayable" ] ;
fhir:definition [ fhir:v "Specifies if the identifier is intended for human display and data entry (displayable = true) as opposed to pure machine interoperation (displayable = false)." ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "II.displayable" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "boolean"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/bl-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/bl-simple>         ] )       ] )     ] [
fhir:id [ fhir:v "Entity.typeId.root" ] ;
fhir:path [ fhir:v "Entity.typeId.root" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Root" ] ;
fhir:definition [ fhir:v "Identifies the type as an HL7 Registered model" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "II.root" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/oid"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/oid>         ] [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/uuid"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/uuid>         ] [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ruid"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/ruid>         ] )       ] ) ;
fhir:fixed [ fhir:v "2.16.840.1.113883.1.3" ]     ] [
fhir:id [ fhir:v "Entity.typeId.extension" ] ;
fhir:path [ fhir:v "Entity.typeId.extension" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:label [ fhir:v "Extension" ] ;
fhir:definition [ fhir:v "A character string as a unique identifier within the scope of the identifier root." ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "II.extension" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "string"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/st-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/st-simple>         ] )       ] )     ] [
fhir:id [ fhir:v "Entity.templateId" ] ;
fhir:path [ fhir:v "Entity.templateId" ] ;
fhir:definition [ fhir:v "When valued in an instance, this attribute signals the imposition of a set of template-defined constraints. The value of this attribute provides a unique identifier for the templates in question" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "InfrastructureRoot.templateId" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Entity.classCode" ] ;
fhir:path [ fhir:v "Entity.classCode" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Entity.classCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
fhir:defaultValue [ fhir:v "ENT" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityClassRoot"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-EntityClassRoot>         ]       ]     ] [
fhir:id [ fhir:v "Entity.determinerCode" ] ;
fhir:path [ fhir:v "Entity.determinerCode" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Entity.determinerCode" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
fhir:fixed [ fhir:v "INSTANCE" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityDeterminer"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-EntityDeterminer>         ]       ]     ] [
fhir:id [ fhir:v "Entity.id" ] ;
fhir:path [ fhir:v "Entity.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Entity.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Entity.code" ] ;
fhir:path [ fhir:v "Entity.code" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Entity.code" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "example" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/cda/stds/core/ValueSet/CDAEntityCode"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/ValueSet/CDAEntityCode>         ]       ]     ] [
fhir:id [ fhir:v "Entity.name" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "Entity.name" ] ;
fhir:short [ fhir:v "ADHA CDA extension to represent entity's name" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Entity.name" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-OrganizationName"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-OrganizationName"^^xsd:anyURI ;
fhir:link <http://ns.electronichealth.net.au/cda/StructureDefinition/au-OrganizationName>         ] )       ] )     ] [
fhir:id [ fhir:v "Entity.desc" ] ;
fhir:path [ fhir:v "Entity.desc" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Entity.desc" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Entity.telecom" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "Entity.telecom" ] ;
fhir:short [ fhir:v "ADHA CDA extension to represent entity's telecommunication details" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Entity.telecom" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Telecom"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Telecom"^^xsd:anyURI ;
fhir:link <http://ns.electronichealth.net.au/cda/StructureDefinition/au-Telecom>         ] )       ] )     ] [
fhir:id [ fhir:v "Entity.addr" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "Entity.addr" ] ;
fhir:short [ fhir:v "ADHA CDA extension to represent entity's address" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Entity.addr" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Address"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Address"^^xsd:anyURI ;
fhir:link <http://ns.electronichealth.net.au/cda/StructureDefinition/au-Address>         ] )       ] )     ] [
fhir:id [ fhir:v "Entity.asOrganizationPartOf" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "Entity.asOrganizationPartOf" ] ;
fhir:short [ fhir:v "ADHA CDA extension to represent a which organisation the entity is part of" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Entity.asOrganizationPartOf" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-OrganizationPartOf"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-OrganizationPartOf"^^xsd:anyURI ;
fhir:link <http://ns.electronichealth.net.au/cda/StructureDefinition/au-OrganizationPartOf>         ] )       ] )     ] [
fhir:id [ fhir:v "Entity.asEntityIdentifier" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "Entity.asEntityIdentifier" ] ;
fhir:short [ fhir:v "ADHA CDA extension to represent a entity's identifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Entity.asEntityIdentifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/asEntityIdentifier"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/asEntityIdentifier"^^xsd:anyURI ;
fhir:link <http://ns.electronichealth.net.au/cda/StructureDefinition/asEntityIdentifier>         ] )       ] )     ] [
fhir:id [ fhir:v "Entity.asQualifiedEntity" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "Entity.asQualifiedEntity" ] ;
fhir:short [ fhir:v "ADHA CDA extension to represent a qualified entity" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
fhir:base [
fhir:path [ fhir:v "Entity.asQualifiedEntity" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/asQualifiedEntity"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/asQualifiedEntity"^^xsd:anyURI ;
fhir:link <http://ns.electronichealth.net.au/cda/StructureDefinition/asQualifiedEntity>         ] )       ] )     ] [
fhir:id [ fhir:v "Entity.personalRelationship" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "Entity.personalRelationship" ] ;
fhir:short [ fhir:v "ADHA CDA extension to represent personal relationship of the entity" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
fhir:base [
fhir:path [ fhir:v "Entity.personalRelationship" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ]       ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/personalRelationship"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/personalRelationship"^^xsd:anyURI ;
fhir:link <http://ns.electronichealth.net.au/cda/StructureDefinition/personalRelationship>         ] )       ] )     ] )
  ] ; # 
  fhir:differential [
    ( fhir:element [
fhir:id [ fhir:v "Entity" ] ;
fhir:path [ fhir:v "Entity" ] ;
fhir:short [ fhir:v "Australian adaptation of the HL7 International CDA Entity class" ] ;
fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ]     ] [
fhir:id [ fhir:v "Entity.classCode" ] ;
fhir:path [ fhir:v "Entity.classCode" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
fhir:defaultValue [ fhir:v "ENT" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityClassRoot"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-EntityClassRoot>         ]       ]     ] [
fhir:id [ fhir:v "Entity.determinerCode" ] ;
fhir:path [ fhir:v "Entity.determinerCode" ] ;
      ( fhir:representation [ fhir:v "xmlAttr" ] ) ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "code"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/StructureDefinition/cs-simple>         ] )       ] ) ;
fhir:fixed [ fhir:v "INSTANCE" ] ;
fhir:binding [
fhir:strength [ fhir:v "required" ] ;
fhir:valueSet [
fhir:v "http://terminology.hl7.org/ValueSet/v3-EntityDeterminer"^^xsd:anyURI ;
fhir:link <http://terminology.hl7.org/ValueSet/v3-EntityDeterminer>         ]       ]     ] [
fhir:id [ fhir:v "Entity.id" ] ;
fhir:path [ fhir:v "Entity.id" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/II"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Entity.code" ] ;
fhir:path [ fhir:v "Entity.code" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/CE"^^xsd:anyURI ]       ] ) ;
fhir:binding [
fhir:strength [ fhir:v "example" ] ;
fhir:valueSet [
fhir:v "http://hl7.org/cda/stds/core/ValueSet/CDAEntityCode"^^xsd:anyURI ;
fhir:link <http://hl7.org/cda/stds/core/ValueSet/CDAEntityCode>         ]       ]     ] [
fhir:id [ fhir:v "Entity.name" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "Entity.name" ] ;
fhir:short [ fhir:v "ADHA CDA extension to represent entity's name" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-OrganizationName"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-OrganizationName"^^xsd:anyURI ;
fhir:link <http://ns.electronichealth.net.au/cda/StructureDefinition/au-OrganizationName>         ] )       ] )     ] [
fhir:id [ fhir:v "Entity.desc" ] ;
fhir:path [ fhir:v "Entity.desc" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://hl7.org/cda/stds/core/StructureDefinition/ED"^^xsd:anyURI ]       ] )     ] [
fhir:id [ fhir:v "Entity.telecom" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "Entity.telecom" ] ;
fhir:short [ fhir:v "ADHA CDA extension to represent entity's telecommunication details" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Telecom"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Telecom"^^xsd:anyURI ;
fhir:link <http://ns.electronichealth.net.au/cda/StructureDefinition/au-Telecom>         ] )       ] )     ] [
fhir:id [ fhir:v "Entity.addr" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "Entity.addr" ] ;
fhir:short [ fhir:v "ADHA CDA extension to represent entity's address" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Address"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-Address"^^xsd:anyURI ;
fhir:link <http://ns.electronichealth.net.au/cda/StructureDefinition/au-Address>         ] )       ] )     ] [
fhir:id [ fhir:v "Entity.asOrganizationPartOf" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "Entity.asOrganizationPartOf" ] ;
fhir:short [ fhir:v "ADHA CDA extension to represent a which organisation the entity is part of" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-OrganizationPartOf"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/au-OrganizationPartOf"^^xsd:anyURI ;
fhir:link <http://ns.electronichealth.net.au/cda/StructureDefinition/au-OrganizationPartOf>         ] )       ] )     ] [
fhir:id [ fhir:v "Entity.asEntityIdentifier" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "Entity.asEntityIdentifier" ] ;
fhir:short [ fhir:v "ADHA CDA extension to represent a entity's identifier" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/asEntityIdentifier"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/asEntityIdentifier"^^xsd:anyURI ;
fhir:link <http://ns.electronichealth.net.au/cda/StructureDefinition/asEntityIdentifier>         ] )       ] )     ] [
fhir:id [ fhir:v "Entity.asQualifiedEntity" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "Entity.asQualifiedEntity" ] ;
fhir:short [ fhir:v "ADHA CDA extension to represent a qualified entity" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "1" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/asQualifiedEntity"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/asQualifiedEntity"^^xsd:anyURI ;
fhir:link <http://ns.electronichealth.net.au/cda/StructureDefinition/asQualifiedEntity>         ] )       ] )     ] [
fhir:id [ fhir:v "Entity.personalRelationship" ] ;
      ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/xml-namespace"^^xsd:anyURI ] ;
fhir:value [ fhir:v "http://ns.electronichealth.net.au/Ci/Cda/Extensions/3.0"^^xsd:anyURI ]       ] ) ;
fhir:path [ fhir:v "Entity.personalRelationship" ] ;
fhir:short [ fhir:v "ADHA CDA extension to represent personal relationship of the entity" ] ;
fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:max [ fhir:v "*" ] ;
      ( fhir:type [
fhir:code [ fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/personalRelationship"^^xsd:anyURI ] ;
        ( fhir:profile [
fhir:v "http://ns.electronichealth.net.au/cda/StructureDefinition/personalRelationship"^^xsd:anyURI ;
fhir:link <http://ns.electronichealth.net.au/cda/StructureDefinition/personalRelationship>         ] )       ] )     ] )
  ] . #