Patient-History
type: OperationDefinition
node role: treeRoot
resource.id:
  value: Patient-History
domain resource.text:
  narrative.status:
    value: generated
  narrative.div: Generated Narrative: OperationDefinition Patient-History URL: [base]/Patient/$patient-history Parameters Use Name Scope Cardinality Type Binding Documentation IN NHI 1..1 Patient The logical id to identify patient/consumer. OUT success 0..* Patient The patient/consumer version (as an Patient resource). OUT failure 0..1 OperationOutcome Error response
operation definition.url:
  value: https://standards.digital.health.nz/fhir/air/OperationDefinition/patient-history
operation definition.version:
  value: 2.7.0
operation definition.name:
  value: patient-history
operation definition.title:
  value: Patient History
operation definition.status:
  value: active
operation definition.kind:
  value: operation
operation definition.experimental:
  value: false
operation definition.date:
  value: 2026-07-20T21:32:10+00:00
operation definition.publisher:
  value: Te Whatu Ora
operation definition.contact:
  index: 0
  contact detail.name:
    value: Te Whatu Ora
  contact detail.telecom:
    index: 0
    contact point.system:
      value: url
    contact point.value:
      value: https://tewhatuora.govt.nz
operation definition.description:
  value: Fetch all the versions of an ImmSOT Patient/Consumer. Modification information is included in the fetched dataset. Input is a valid NHI.
operation definition.jurisdiction:
  index: 0
  codeable concept.coding:
    index: 0
    coding.system:
      value: urn:iso:std:iso:3166
    coding.code:
      value: US
    coding.display:
      value: New Zealand
operation definition.affects state:
  value: false
operation definition.code:
  value: patient-history
operation definition.resource:
  value: Patient
  index: 0
operation definition.system:
  value: false
operation definition.type:
  value: true
operation definition.instance:
  value: false
operation definition.parameter:
  index: 0
  operation definition.parameter.name:
    value: NHI
  operation definition.parameter.use:
    value: in
  operation definition.parameter.min:
    value: 1
  operation definition.parameter.max:
    value: 1
  operation definition.parameter.documentation:
    value: The logical id to identify patient/consumer.
  operation definition.parameter.type:
    value: Patient
operation definition.parameter:
  index: 1
  operation definition.parameter.name:
    value: success
  operation definition.parameter.use:
    value: out
  operation definition.parameter.min:
    value: 0
  operation definition.parameter.max:
    value: *
  operation definition.parameter.documentation:
    value: The patient/consumer version (as an Patient resource).
  operation definition.parameter.type:
    value: Patient
operation definition.parameter:
  index: 2
  operation definition.parameter.name:
    value: failure
  operation definition.parameter.use:
    value: out
  operation definition.parameter.min:
    value: 0
  operation definition.parameter.max:
    value: 1
  operation definition.parameter.documentation:
    value: Error response
  operation definition.parameter.type:
    value: OperationOutcome