Release 4 R5 Final QA

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0-draft-final: Final QA Preview for R5 - Mixed Normative and STU see ballot notes ) in it's permanent home (it will always be available at this URL). ). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Audit-event-example-login.json

Example CodeSystem/medication-statement-status (Turtle)

Security Pharmacy Work Group Maturity Level : N/A Standards Status : Informative Compartments : Device , Patient , Practitioner
Raw

Raw Turtle (+ also see JSON Turtle/RDF Format Specification )

Login example Definition for Code SystemMedicationStatementStatusCodes

{ "resourceType": "AuditEvent", "id": "example-login", "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example-login</p><p><b>type</b>: User Authentication (Details: DICOM code 110114 = 'User Authentication', stated as 'User Authentication')</p><p><b>subtype</b>: Login (Details: DICOM code 110122 = 'Login', stated as 'Login')</p><p><b>action</b>: E</p><p><b>recorded</b>: 20/06/2013 11:41:23 PM</p><p><b>outcome</b>: 0</p><blockquote><p><b>agent</b></p><p><b>type</b>: human user <span>(Details : {http://terminology.hl7.org/CodeSystem/extra-security-role-type code 'humanuser' = 'human user', given as 'human user'})</span></p><p><b>who</b>: </p><p><b>altId</b>: 601847123</p><p><b>name</b>: Grahame Grieve</p><p><b>requestor</b>: true</p><h3>Networks</h3><table><tr><td>-</td><td><b>Address</b></td><td><b>Type</b></td></tr><tr><td>*</td><td>127.0.0.1</td><td>2</td></tr></table></blockquote><blockquote><p><b>agent</b></p><p><b>type</b>: Source Role ID <span>(Details : {DICOM code '110153' = 'Source Role ID', given as 'Source Role ID'})</span></p><p><b>who</b>: </p><p><b>altId</b>: 6580</p><p><b>requestor</b>: false</p><h3>Networks</h3><table><tr><td>-</td><td><b>Address</b></td><td><b>Type</b></td></tr><tr><td>*</td><td>Workstation1.ehr.familyclinic.com</td><td>1</td></tr></table></blockquote><h3>Sources</h3><table><tr><td>-</td><td><b>Site</b></td><td><b>Observer</b></td><td><b>Type</b></td></tr><tr><td>*</td><td>Cloud</td><td/><td>Web Server (Details: http://terminology.hl7.org/CodeSystem/security-source-type code 3 = 'Web Server', stated as 'Web Server')</td></tr></table></div>" }, "type": { "system": "http://dicom.nema.org/resources/ontology/DCM", "code": "110114", "display": "User Authentication" }, "subtype": [ { "system": "http://dicom.nema.org/resources/ontology/DCM", "code": "110122", "display": "Login" } ], "action": "E", "recorded": "2013-06-20T23:41:23Z", "outcome": "0", "agent": [ { "type": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/extra-security-role-type", "code": "humanuser", "display": "human user" } ] }, "who": { "identifier": { "value": "95" } }, "altId": "601847123", "name": "Grahame Grieve", "requestor": true, "network": { "address": "127.0.0.1", "type": "2" } }, { "type": { "coding": [ { "system": "http://dicom.nema.org/resources/ontology/DCM", "code": "110153", "display": "Source Role ID" } ] }, "who": { "identifier": { "system": "urn:oid:2.16.840.1.113883.4.2", "value": "2.16.840.1.113883.4.2" } }, "altId": "6580", "requestor": false, "network": { "address": "Workstation1.ehr.familyclinic.com", "type": "1" } } ], "source": { "site": "Cloud", "observer": { "identifier": { "value": "hl7connect.healthintersections.com.au" } }, "type": [ { "system": "http://terminology.hl7.org/CodeSystem/security-source-type", "code": "3", "display": "Web Server" } ] } }
@prefix fhir: <http://hl7.org/fhir/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .

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

[] a fhir:CodeSystem ;
  fhir:id [ fhir:v "medication-statement-status"] ;
  fhir:meta [
     fhir:lastUpdated [ fhir:v "2023-03-01T23:03:57.298+11:00" ] ;
     fhir:profile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/shareablecodesystem" ] )
  ] ;
  fhir:text [
     fhir:status [ fhir:v "generated" ]
  ] ;
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ;
     fhir:value [ fhir:v "phx" ]
  ] ) ;
  fhir:url [ fhir:v "http://hl7.org/fhir/CodeSystem/medication-statement-status"], [ fhir:v "http://hl7.org/fhir/CodeSystem/medication-statement-status"] ;
  fhir:identifier ( [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.1980" ]
  ] [
     fhir:system [ fhir:v "urn:ietf:rfc:3986" ] ;
     fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.4.642.4.1980" ]
  ] ) ;
  fhir:version [ fhir:v "5.0.0-draft-final"], [ fhir:v "5.0.0-draft-final"] ;
  fhir:name [ fhir:v "MedicationStatementStatusCodes"], [ fhir:v "MedicationStatementStatusCodes"] ;
  fhir:title [ fhir:v "MedicationStatement Status Codes"], [ fhir:v "MedicationStatement Status Codes"] ;
  fhir:status [ fhir:v "active"], [ fhir:v "active"] ;
  fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ;
  fhir:publisher [ fhir:v "HL7 International"], [ fhir:v "HL7 International"] ;
  fhir:description [ fhir:v "MedicationStatement Status Codes"], [ fhir:v "MedicationStatement Status Codes"] ;
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ;
  fhir:caseSensitive [ fhir:v "true"] ;
  fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/medication-statement-status"] ;
  fhir:content [ fhir:v "complete"] ;
  fhir:concept ( [
     fhir:code [ fhir:v "recorded" ] ;
     fhir:display [ fhir:v "Recorded" ] ;
     fhir:definition [ fhir:v "The action of recording the medication statement is finished." ]
  ] [
     fhir:code [ fhir:v "entered-in-error" ] ;
     fhir:display [ fhir:v "Entered in Error" ] ;
     fhir:definition [ fhir:v "Some of the actions that are implied by the medication usage may have occurred.  For example, the patient may have taken some of the medication.  Clinical decision support systems should take this status into account." ]
  ] [
     fhir:code [ fhir:v "draft" ] ;
     fhir:display [ fhir:v "Draft" ] ;
     fhir:definition [ fhir:v "The medication usage is draft or preliminary." ]
  ] ) .

# -------------------------------------------------------------------------------------



Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.